Code for modeling effects of releaseing captive-born individuals into wild populations associated with the publication Willoughby JR, Christie MR. 2019. Long‐term demographic and genetic effects of releasing captive‐born individuals into the wild Conservation Biology https://onlinelibrary.wiley.com/doi/pdf/10.1111/cobi.13217
Also found at https://github.rcac.purdue.edu/MarkRChristieGroup/captivebreeding-IBM
More information availalbe at lab wiki: https://wiki.itap.purdue.edu/pages/viewpage.action?pageId=82912459.
Note: Use of the provided code requires a specific configuration of folders. Within the directory holding all of the provided scripts, there should be three folders:source, plot, and output. All .R files that execute the simulation, except for RRSmodel.R, are found in source into the 'source' directory. After defining parameter values within RRSmodel.R and running the code, all output files will be directed into the 'output' directory. All code for plotting and parsing the output are found in the plot directory.