View source: R/merge_simfiles.R
process_simfiles | R Documentation |
Wraps the merge_simfiles
function to merge all sub-job
Rdata files and saves into a single output file, with the option
to delete the sub-job files.
process_simfiles(
simno = NA,
indir = "data/",
outdir = "data/",
vars = NULL,
truncate.at = NULL,
min.n,
nsims,
compress = "xz",
delete.sub = TRUE,
verbose = FALSE
)
simno |
Simulation number to process. |
indir |
File directory relative to working directory where simulation files are stored. |
outdir |
File directory relative to working directory where simulation files should be saved. |
vars |
Argument passed to |
truncate.at |
Left-truncates a simulation epidemiological summary statistics and network statistics at a specified time step. |
min.n |
Integer value for the minimum number of simulation files to be eligible for processing. |
nsims |
Total number of simulations across all sub-jobs. |
compress |
Argument passed to |
delete.sub |
Delete sub-job files after merge and saving. |
verbose |
Logical, print progress to console. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.