Learn R Programming

sstModel (version 1.0.0)

simulate.participationRisk: Simulate from a participationRisk

Description

simulate is a generic S3 method for classes inheriting from risk. It returns a vector of risk-factor simulations for the corresponding risk.

Usage

# S3 method for participationRisk
simulate(object, nsim, seed = NULL, ...)

Arguments

object

S3 object of class participationRisk.

nsim

strictly positive integer value og length one. The number of simulations.

seed

positive integer value of length one. The seed for reproducibility.

...

additional arguments.

Value

a numeric value. The base simulations.

See Also

simulate, participationRisk, participation.