compute.healthRisk: Compute a HealthRisk

Description Usage Arguments Value See Also

View source: R/healthRisk-simulation.R

Description

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

Usage

1
2
3
## S3 method for class 'healthRisk'
compute(object, market.risk, health.item, nsim,
  seed = NULL, ...)

Arguments

object

S3 object of class healthRisk.

market.risk

S3 object of class marketRisk created using marketRisk.

health.item

S3 object of class health from a portfolio.

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 data.table value containing one column named "healthRisk". The simulations result for a healthRisk.

See Also

compute, healthRisk.


sstModel documentation built on May 4, 2018, 1:04 a.m.