simulate
is a generic S3 method for S3 classes
inheriting from risk. It returns a vector of risk-factor
simulations for the corresponding risk.
# S3 method for nonLifeRisk
simulate(object, nsim, seed = NULL, ...)
an S3 object of class nonLifeRisk.
a strictly positive integer value of length one. The number of simulations.
a positive integer value of length one. The seed for reproducibility.
additional parameters.
a numeric value. The base simulations.