ParallelRun {rrepast} | R Documentation |
Run simulations in parallel. This function
executes the time steps of an instantiated model. The number
of replications of model runs can be specified by the
function parameter. The seed parameter may be
omitted and will be generated internally. If provided,
the seed collection, must contain the same
number of r
parameter.
ParallelRun(modeldir, datasource, maxtime, r = 1, seed = c(),
design = NULL, default = NULL)
modeldir |
The installation directory of some repast model |
datasource |
The name of any model aggregate dataset |
maxtime |
The total simulated time |
r |
The number of experiment replications |
seed |
The random seed collection |
design |
The desing matrix holding parameter sampling |
default |
The alternative values for parameters which should be kept fixed |
The model output dataset
## Not run:
md<- "/usr/models/your-model-directory"
output<- ParallelRun(modeldir= md, maxtime = 360, dataset= ds, r=4)
## End(Not run)