Coder Social home page Coder Social logo

cjabradshaw / whitesharkdeterrents Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 2.31 MB

R code to analysis deterrent trials for devices used to reduce the incidence of white shark (Carcharodon carcharias) attacks

License: GNU General Public License v3.0

R 100.00%
shark shark-attack shark-bite shark-repellents human-wildlife-conflict mitigation great-white-shark white-pointer-shark

whitesharkdeterrents's Introduction

Response of white sharks exposed to newly developed personal shark deterrents

deterrents

R code (by Corey Bradshaw @ Flinders University, Adelaide, Australia — e-mail) to analyse deterrent trials for devices used to reduce the incidence of white shark (Carcharodon carcharias) attacks

Accompanies report:

C Huveneers1, S Whitmarsh1, M Thiele1, C May1, L Meyer1, A Fox2, CJA Bradshaw1

1College of Science and Engineering, Flinders University, Adelaide, South Australia 2Fox Shark Research Foundation, Adelaide, South Australia

Title: Response of White Sharks Exposed to Newly Developed Personal Shark Deterrents. Flinders University. Report to the NSW Department of Primary Industries.

*** NOTE *** This report has now been published in the peer-reviewed journal PeerJ:

Huveneers, C, S Whitmarsh, M Thiele, L Meyer, A Fox, CJA Bradshaw. 2018. Effectiveness of five personal shark-bite deterrents for surfers. PeerJ 6: e5554

Abstract

The number of shark-human interactions and shark bites per capita has been increasing since the 1980s, leading to a rise in measures developed to mitigate the risk of shark bites. Yet many of the products commercially available for personal protection have not been scientifically tested, potentially providing an exaggerated sense of security to the people using them. We tested five personal shark deterrents developed for surfers (Shark Shield Pty Ltd [Ocean Guardian] Freedom+ Surf, Rpela, SharkBanz bracelet, SharkBanz surf leash, and Chillax Wax) by comparing the percentage of baits taken, distance to the bait, number of passes, and whether a shark reaction could be observed. We did a total of 297 successful trials at the Neptune Islands Group Marine Park in South Australia, during which 44 different white sharks (Carcharodon carcharias) interacted with the bait, making a total of 1413 passes. The effectiveness of the deterrents was variable, with the Freedom+ Surf affecting shark behaviour the most and reducing the percentage of bait taken from 96% (relative to the control board) to 40%. The mean distance of sharks to the board increased from 1.6 ± 0.1 m (control board) to 2.6 ± 0.1 m when the Freedom Surf+ was active. The other deterrents had limited or no measureable effect on white shark behavour. Based on our power analyses, the smallest effect size that could be reliably detected was ∼15%, which for the first time provides information about the effect size that a deterrent study like ours can reliably detect. Our study shows that deterrents based on similar principles—overwhelming a shark’s electroreceptors (the ampullae of Lorenzini) with electrical pulses—differ in their efficacy, reinforcing the need to test each product independently. Our results will allow private and government agencies and the public to make informed decisions about the use and suitability of these five products.

Required R scripts

  • white shark deterrent trials Github.R - base generalised linear mixed-effects models and accompanying power analyses
  • new_lmer_AIC_tables3.R - functions to compare generalised linear mixed-effects models
  • r.squared.R - functions to estimate R2 for mixed-effects models

Data files

NOTE: The following data files needed to run these analyses have now been uploaded. However, if you would like to use these files, contact Charlie Huveneers or Corey Bradshaw, explaining your intended uses for the data and code listed here, and to ask for permission. Thank you.

  • dist_data.csv
  • TF_data.csv
  • Binomial_data.csv
  • NoApp_data.csv

Required R libraries

  • lme4
  • boot
  • Hmisc
  • ggplot2
  • tcltk
  • plyr

whitesharkdeterrents's People

Contributors

cjabradshaw avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.