Supplement 1. Code necessary for replicating the simulation analysis included in this study.
收藏资源简介:
File List Sim_test--for_supplements.R (MD5: 2efc9a4718adb22d7c0d346a44176211) Fn_models--for_supplements.R (MD5: 5052b921baa24149ea4e24533b3ef630) Description Sim_test--for_supplements.R – File containing R script used to run simulation experiment comparing the estimation performance of the demographic (Dail-Madsen) and generalized-linear mixed models (GLMM). Fn_models--for_supplements.R – File containing R functions used by "Sim_test--for_supplements.R" file, which is called by "Sim_test--for_supplements.R" to source them into local memory. These functions include (1) the function for writing .bug files that define the model structure for each candidate model; (2) the function generating initial values for each function; (3) and a function for parallelizing JAGS code.



