ParallelRun {rrepast} | R Documentation |
ParallelRun
Description
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.
Usage
ParallelRun(modeldir, datasource, maxtime, r = 1, seed = c(),
design = NULL, default = NULL)
Arguments
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 |
Value
The model output dataset
Examples
## Not run:
md<- "/usr/models/your-model-directory"
output<- ParallelRun(modeldir= md, maxtime = 360, dataset= ds, r=4)
## End(Not run)
[Package rrepast version 0.8.0 Index]