Published November 10, 2023 | Version v1

Data and R-Code from: How to account for behavioral states in step-selection analysis: a model comparison

  • 1. ROR icon University of Potsdam
  • 2. ROR icon University of Göttingen
  • 3. ROR icon University of Münster

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.

 

 

Files

Pohle_et_al_2023_BehavioralStates_iSSA_Data.zip

Files (662.2 MB)

Name Size
md5:b2684eec4297d8fc4c1b3c9db29fb94c
662.2 MB Preview Download
md5:cb6637ada77e4e9683dea8499bf1929c
28.4 kB Preview Download