healthRisk: Constructing a HealthRisk

Description Usage Arguments Value See Also Examples

Description

healthRisk is the constructor for the S3 class healthRisk. It allows to build for health insurance risks parameters.

Usage

1
healthRisk(corr.mat)

Arguments

corr.mat

matrix of numeric values. It must be a valid correlation matrix. This matrix must have names, i.e. attributes colnames and rownames indicating the names of the corresponding health insurance risk factors.

Value

an S3 object, instance of the class healthRisk.

See Also

summary.healthRisk, print.healthRisk, compute.healthRisk.

Examples

1
2
3
4
5
6
7
# Creating new healthRisks.

corr.mat <- diag(rep(1, 2))
colnames(corr.mat) <- c("invalidity", "longetivity")
rownames(corr.mat) <- colnames(corr.mat)

healthRisk1 <- healthRisk(corr.mat  = corr.mat)

sstModel documentation built on May 2, 2019, 12:16 p.m.