This is an internal function to sim_trajectory_CSV
. It does the
actual sampling once all of the functions have been checked and setup.
sim_trajectory_base_CSV(
x0,
times,
stepFun,
folders,
stage,
events0 = NULL,
batch = NULL,
Sout = NULL,
verbose = TRUE
)
no return, prints .csv files into provided folders
the initial marking of the SPN (initial state)
sequence of sampling times
a sampling function
vector of folders to write output
vector of life-stages to print
a data.frame
of events (uses the same format as required
in package deSolve
for consistency, see events
for more information)
a list
of batch migration events, created from batch_migration
, may be set to NULL
if not used
an optional matrix to track event firings
print a progress bar?