Published October 31, 2018 | Version 0.1
Dataset Open

Code and data for "Optimising habitat management for amphibians: from simple models to complex decisions"

  • 1. Arthur Rylah Institute for Environmental Research
  • 2. Department of Environment, Land, Water and Planning
  • 3. Deakin University
  • 4. University of Melbourne
  • 5. Charles Sturt University

Description

The zip archive contains code and data to reproduce the analysis contained in the following manuscript:

Scroggie, M.P., Preece, K., Nicholson, E., McCarthy, M.A., Parris, K.M. and Heard, G.W. Optimising habitat management for amphibians: from simple models to complex decisions.

Included in the archive is the source code of two R packages (METAPOP, and METAPOPPLAN), which must first be installed, along with their various dependencies which include Rcpp, RcppArmadillo, sp, spdep and rgeos. As package METAPOPPLAN contains C++ code, installation requires the presence of the appropriate C++ compilers and other software development tools. These should be available or easily installable on Linux or other Unix based systems, but Microsoft Windows users must first install the appropriate version of Rtools, which can be downloaded from https://cran.r-project.org/bin/windows/Rtools/.

With all appropriate packages installed, the analysis can be replicated by running the included Makefile.

Total execution time will be quite long, due to the large number of simulations that must be run. On my Windows system, with 12 cores and 4GB of RAM, execution took approximately 10 days. The code will run much faster if the various management scenarios included in the analysis are executed in parallel. This can be done by executing make with a -j argument specifying the number of cores to utilise. For example, if your system has 12 cores, invoke *make* as follows:

make -j 12

Overall execution time will scale roughly with the number of available cores, up to a maximum of 24 (the total number of management scenarios).
 

Files

GGF_optimisation_paper.zip

Files (22.6 MB)

Name Size Download all
md5:4b734bc7c1e813cc757ee65d46cce4d0
22.6 MB Preview Download