Simulate from a LifeRisk
simulate
is a generic S3 method for classes
inheriting from risk. It returns a vector of risk-factor
simulations for the corresponding risk.
## S3 method for class 'lifeRisk' simulate(object, nsim, seed = NULL, ...)
object |
S3 object of class lifeRisk. |
nsim |
strictly positive integer value of length one. The number of simulations. |
seed |
positive integer value of length one. The seed for reproducibility. |
... |
additional arguments to be passed to |
a numeric value, the base simulations.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.