Giter Site home page Giter Site logo

cbeardsworth / pheasant_orientstrat_habitat Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 29.59 MB

Data and code for Beardsworth et al. (2021) Is habitat selection shaped by individual-level cognitive biases in orientation strategy? Ecology Letters

R 2.96% HTML 97.04%
habitat-selection orientation-strategy movement-ecology phasianus-colchicus pheasant cognition spatial-memory spatial-cognition

pheasant_orientstrat_habitat's Introduction

Repository for: Is habitat selection in the wild shaped by individual-level cognitive biases in orientation strategy?

Christine E. Beardsworth, Mark A. Whiteside, Philippa R. Laker, Ran Nathan, Yotam Orchan, Sivan Toledo, Jayden O. van Horik, Joah R. Madden

DOI

For any questions about the code please contact Christine at [email protected]

To use any data contained in this repository contact Joah at [email protected] for permission.

In this repository, we have included a run-through of the R analysis here to show the outputs of the analysis without the need to run the code. For those that might want to run the code themselves, we have included three R scripts (/R) and their accompanying datasets (/Data):

Cognition analysis and figs.R = Run the cognition analysis for the first section of the manuscript and create the figures. For this, the datasets mazeData.csv (the learning trials) and mazeRotationResults.csv (the probe trial) are required. 

iSSA analysis and bootstrapping.R = Run iSSA models and bootstrapping. This produces the datasets required for the next stage of analysis. For this code, the datasets habitat.grd (habitat information), atlas2018-strategy.csv (atlas data + id and strategy data for each bird) and FeederCoords2017_27700.csv (coordinates of feeder locations from 2017-2018) are required. The produced datasets are included in /Data therefore to run subsequent analyses, this code does not need to be run. To develop this code we relied heavily on the code included in the supplementary material of Signer et al. (2019) as well as an online tutorial from Brian J. Smith for calculating log RSS.

Habitat analysis and Figs.R = Run the statistical models for the final section of the manuscript and create the figures. For this code, the datasets produced in the previous R script are required (habitatOrientation_coefs.csv and habitatOrientation_avail.csv). We have included these datasets so users do not need to run the iSSA analysis and bootstrapping.R script themselves. 

pheasant_orientstrat_habitat's People

Contributors

cbeardsworth 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.