abc_smc_wave: Simulates the ABC-SMC Slurm Model

Description Usage Arguments

View source: R/slurm.R

Description

This is the second step in the ABC-SMC Slurm workflow.

Usage

1
abc_smc_wave(input = "data/", wave, batch, save = TRUE, outdir = "data/")

Arguments

input

A character string containing the directory of the output file from abc_smc_prep which should be saved as an RDS file with the name abc.wave0.rda (the default), or the object itself.

wave

SMC wave number, where the initial wave = 0. In the standard Slurm workflow, this would get passed in as an environmental variable wave from the master bash script.

batch

Batch number for the simulation set, which corresponds to the array number passed in as an environmental Slurm variable SLURM_ARRAY_TASK_ID.

save

If TRUE, writes output to an RDS file with the name abc.waveX.batchY.rda in the directory specified by outdir, where X is the value of wave and Y is the value of batch.

outdir

Path to save the output RDS file if save=TRUE.


EpiModel/EasyABCMPI documentation built on Dec. 5, 2020, 8:43 p.m.