Description Usage Arguments Value Examples
A simulation is done with the object chain
. The number of
values to simulate is given by nbs
. The function returns a
data frame with simulations in rows and variables in columns.
According to the @format
of the nodes, more or less [random]
variables are stored for each node.
1 | simu8chain(chain, nbs=100)
|
chain |
/chain/ object to be simulated. |
nbs |
An integer indicating the desir |
returns a list with two components
\$df |
A data frame with all the simulated (and kept) variables. |
\$rr |
A named vector with the results of a deterministic application of the chain (equivalent to the original Risk Ranger). |
1 2 3 4 | prr3k("RESET"); # For R checking compliance
simu8chain(prr.chain1, nbs=5);
simu8chain(prr.chain2, nbs=5);
simu8chain(prr.chain3, nbs=5);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.