Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

compute.lifeRisk

Compute a LifeRisk


Description

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

Usage

## S3 method for class 'lifeRisk'
compute(object, market.risk, life.item, nsim, seed = NULL,
  ...)

Arguments

object

S3 object of class lifeRisk.

market.risk

S3 object of class marketRisk created using the constructor marketRisk.

life.item

S3 object of class life from a portfolio.

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.

Value

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

See Also


sstModel

Swiss Solvency Test (SST) Standard Models

v1.0.0
GPL-3 + file LICENSE
Authors
Loris Michel [aut], Melvin Kianmanesh Rad [aut], Adrien Lamit [aut], Michael Schmutz [cre], Swiss Financial Market Supervisory Authority FINMA [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.