Data and R-Code from: How to account for behavioral states in step-selection analysis: a model comparison
Authors/Creators
Description
This repository provides the R-code and data used for the simulation and case study of the research paper: "How to account for behavioral states in step-selection analysis: a model comparison".
The folder "Pohle_et_al_2023_BehavioralStates_iSSA_Data" contains the landscape rasters used for data generation in the simulation study, and the bank vole (Myodes glareolus) movement data used in the case study on bank vole interactions:
- landscape10.RData and landscape50.RData: Landscape rasters for the simulation study.
- Vole_case_control.rds: Case-control bank vole data for the case study.
- Info_replicates.rds: Information about bank vole indiviuals and corresponding replicates for the case study.
- Codebook_case_study.xlsx: Codebook for the case study data sets.
- Read_me.txt
The folder "Pohle_et_al_2023_BehavioralStates_iSSA_RCode" contains the R-scripts for the simulation and case study:
- Functions.R: Functions to apply HMMs, TS-iSSAs, and HMM-iSSAs to movement data; used for the simulation and case study.
- Simulation_study.R: R-Code to run the simulation study. Parallel computation is used.
- Results_simulation_study.R: R-Code to create the result figures and tables for the simulation study.
- Case_study.R: R-Code to run the bank vole interaction case study. Parallel computation is used.
- Results_case_study.R: R-Code to create the result figures and tables for the case study.
- Read_me.txt
Besides the simulation and case study from the paper, the included functions (Functions.R) can generally be used to perform an HMM-iSSA analysis.
For the bank vole movement data without control locations, see: Schlägel, U.E. et al. (2019). Data from: Estimating interactions between individuals from concurrent animal movements [Dataset]. Dryad. https://doi.org/10.5061/dryad.rt535m8.
Acknowledgements
We thank Sophie Eden, Angela Puschmann and Pauline Lange for help with the bank vole data collection and maintenance of the outdoor enclosures.