| evalmcmod | R Documentation |
Evaluates a mcmodel object (or a valid expression) using a specified number
of simulations and with (or without) a specified seed.
evalmcmod(expr, nsv = ndvar(), nsu = ndunc(), seed = NULL)
expr |
a model of class |
nsv |
the number of simulations in the variability dimension. |
nsu |
the number of simulations in the uncertainty dimension. |
seed |
the random seed. If ‘NULL’ the seed is unchanged. |
The model is evaluated. Intermediate variables used to build the ‘mc’ object are not stored.
The result of the evaluation — should be a ‘mc’ object.
The seed is set at the beginning of the evaluation. Thus, the complete similarity of two evaluations with the same seed is not certain, depending on the structure of the model.
mcmodel, evalmccut to evaluate high-dimension models.
data(ec)
ec$modEC1
evalmcmod(ec$modEC1, nsv=100, nsu=100, seed=666)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.