Learn R Programming

sstModel (version 1.0.0)

summary.healthRisk: Summarizing a HealthRisk

Description

summary method for the S3 class healthRisk.

Usage

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

Arguments

object

S3 object of class healthRisk.

...

additional arguments.

Value

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

See Also

summary, healthRisk.

Examples

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

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

healthRisk1 <- healthRisk(corr.mat  = corr.mat)
# summarizing the healthRisk.
summary(healthRisk1)

# }

Run the code above in your browser using DataLab