Learn R Programming

extrafrail (version 1.13)

tools.extrafrail: Print a summary for a object of the "extrafrail" class.

Description

Summarizes the results for a object of the "extrafrail" class.

Usage

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

Value

A complete summary for the coefficients extracted from a "extrafrail" object.

Arguments

object

an object of the "extrafrail" class.

...

for extra arguments.

Author

Diego Gallardo and Marcelo Bourguignon.

Details

Supported frailty models are: - gamma frailty model - inverse gaussian frailty model - weighted frailty model - Birnbaum-Saunders frailty model - Truncated normal frailty model - Mixture of inverse gaussian frailty model - Mixture of Birnbaum-Saunders frailty model

References

Gallardo and Bourguignon (2022).

Examples

Run this code
# \donttest{
#require(frailtyHL)
require(survival)
data(rats, package="frailtyHL")
fit <- frailty.fit(survival::Surv(time, status) ~ rx + survival::cluster(litter), 
dist.frail="WL", data = rats)
summary(fit)
# }

Run the code above in your browser using DataLab