Learn R Programming

sstModel (version 1.0.0)

simulate.nonLifeRisk: Simulate from a nonLifeRisk

Description

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

Usage

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

Arguments

object

an S3 object of class nonLifeRisk.

nsim

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

seed

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

...

additional parameters.

Value

a numeric value. The base simulations.

See Also

simulate, nonLifeRisk.