simulates values for a given chain
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.
/chain/ object to be simulated.
An integer indicating the desir
returns a list with two components
A data frame with all the simulated (and kept) variables.
A named vector with the results of a deterministic application of the chain (equivalent to the original Risk Ranger).
1 2 3 4