R Code for analysis of PBR Tier System simulations.
Typical source() order for running scripts would be:
The write_inits() function is relied on heavily for batching runs of simulations.
PBR_create_input_files.R
Please note the comment regarding directory structure next to the initialization of the code_dir variable. This could be improved, but for now, it will require modification by the user to match where the code resides in their personal directories.
PBR_batch.R
system() calls would likely need to be modified under a different OS. Future versions of these functions could be made more cross-platform friendly by making the system() calls conditional on the value returned from, for example .Platform$OS.type
PBR_fortran_output.R
Contains functions for compiling depletion statistics and plotting.
PBR_Fortran_controller.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.