This repo contains code to reproduce the results of Whoriskey et al. (2021) YAMS for acoustic telemetry data. To reproduce the results yourself, first run the yams_prepdata.R file, then yams_pike.R, then yams_pike_posthoc.R, and finally yams_pike_bootstrap.R. All necessary data are included in the data folder.
Required packages: TMB, data.table, ggplot2, yaps, dplyr, mgcv, sp, wesanderson