Description Usage Arguments Value Examples
View source: R/rrepast-parallel.R
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.
1 2 | 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
1 2 3 4 | ## Not run:
md<- "/usr/models/your-model-directory"
output<- ParallelRun(modeldir= md, maxtime = 360, dataset= ds, r=4)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.