Learn R Programming

sstModel (version 1.0.0)

print.lifeRisk: Printing a LifeRisk

Description

print method for the S3 class lifeRisk.

Usage

# S3 method for lifeRisk
print(x, ...)

Arguments

x

an S3 object of class lifeRisk.

...

additional arguments.

Value

None (invisible NULL).

See Also

print, lifeRisk.

Examples

Run this code
# NOT RUN {
# Creating a new lifeRisk.

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

lifeRisk1 <- lifeRisk(corr.mat  = corr.mat,
                      quantile = c(0.995, 0.995))
# printing the lifeRisk.
print(lifeRisk1)

# }

Run the code above in your browser using DataLab