These R scripts prepare the dataset and run the model to evaluate effects of leg flags on nest survival of four species of shorebirds.
Flags_Script1_subset_data.r: Subset the dataset and restructure as needed to run the model.
Flags_Script2_run_model.r: Run the model in JAGS.
The scripts were developed April 2018 in R v. 3.4.0 Patched.
The original dataset is publicly available at: https://arcticdata.io/catalog/#view/doi:10.18739/A2CD5M