Learn R Programming

sstModel (version 1.0.0)

check.health: Checking Consistency of a Health Delta-Normal 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 health
check(object, market.risk, health.risk, ...)

Arguments

object

S3 object of class health.

market.risk

S3 object of class marketRisk created using the constructor marketRisk.

health.risk

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

...

additional arguments.

Value

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

See Also

check, health.