Learn R Programming

sstModel (version 1.0.0)

compute.nonLifeRisk: Compute a nonLifeRisk

Description

compute is a generic S3 method for S3 classes inheriting from risk. It returns a vector of aggregated simulations for the corresponding risk.

Usage

# S3 method for nonLifeRisk
compute(object, nsim, seed = NULL, market.risk, ...)

Arguments

object

an S3 object of class nonLifeRisk.

nsim

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

seed

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

market.risk

an S3 object of class marketRisk created using marketRisk.

...

additional parameters.

Value

a data.table value containing one column named nonLifeRisk. The simulations result for a nonLifeRisk.

See Also

compute, nonLifeRisk.