Run {rrepast} | R Documentation |
Run simulations
Description
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
Run(e, r = 1, seed = c())
Arguments
e |
An engine object instance |
r |
The number of experiment replications |
seed |
The random seed collection |
Value
The model output dataset
Examples
## Not run:
d<- "C:/usr/models/your-model-directory"
m<- Model(d)
Load(m)
Run(m,r=2) # or Run(m,r=2,seed=c(1,2))
## End(Not run)
[Package rrepast version 0.8.0 Index]