Learn R Programming

sstModel (version 1.0.0)

summary.lifeRisk: Summarizing a LifeRisk

Description

summary method for the S3 class lifeRisk.

Usage

# S3 method for lifeRisk
summary(object, ...)

Arguments

object

S3 object of class lifeRisk.

...

additional arguments.

Value

an S3 object, instance of class c("summaryDefault", "table").

See Also

summary, 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))
# summarizing the lifeRisk.
summary(lifeRisk1)

# }

Run the code above in your browser using DataLab