R scripts for "Estimating the temporal scale of lagged responses in species abundance and occurrence", Sollmann, Ecosphere (accepted)
All scripts necessary to (1) repeat the simulation study and (2) summarize simulation output numerically and graphically. For details, see main text of publication.
https://doi.org/10.5281/zenodo.8321102
This repository contains the following data files (folder R) :
Likelihood and other functions.R: likelihood functions to be maximized for all four versions of the temporal scale model described in the manuscript, plus helper functions used in the simulation
Simulation script.R: R script to implement simulation study
Simulation summary.R: R script to summarize simulation output