Code associated with formulating, implementing, and visualizing an analysis of wild boar population dynamics using an integrated population model (IPM).
WildBoarIPM.R
Code for formulating, implementing, and running the model in NIMBLE.
Running requires an additional data file (WildBoarIPM_Data.RData
). See below for information on data availability.
WildBoarIPM_InitialValuesSim.R
Code for simulating initial values for running the IPM.
WildBoarIPM_Plots.R
Code for visualizing model results and generating the component plots for the figures included in the manuscript.
Running requires posterior samples from the run model (WildBoarIPM_MCMCsamples.RData
), which can be downloaded from: https://mycore.core-cloud.net/index.php/s/vYfxlaDvpmkoJG9
To run the model, a file containing processed individual-based data on wild boar demography is required (WildBoarIPM_Data.RData
).
At present, this data is not openly available.
To request access to the data, please contact Dr. Marlène Gamelon: [email protected]