Learn R Programming

sstModel (version 1.0.0)

check.life: Checking Consistency of a Life Delta-Normal Remainder Term with a MarketRisk and a HealthRisk

Description

check is a generic S3 method for classes inheriting from item. It is a logical method checking if the item is well defined with respect to a risk (i.e. that all information necessary for valuating the item is available).

Usage

# S3 method for life
check(object, market.risk, life.risk, ...)

Arguments

object

S3 object of class life.

market.risk

S3 object of class marketRisk created using the constructor marketRisk.

life.risk

S3 object of class lifeRisk, created using the constructor lifeRisk.

...

additional arguments.

Value

a logical value, is the life item consistent with the marketRisk and the healthRisk?

See Also

check, life.