Learn R Programming

frailtypack (version 2.7.1)

summary.additivePenal: summary of parameter estimates of an additive frailty model

Description

This function returns hazard ratios (HR) and its confidence intervals

Usage

## S3 method for class 'additivePenal':
summary(object, level = 0.95, len = 6, d = 2, lab="hr", \dots)

Arguments

object
output from a call to additivePenal.
level
significance level of confidence interval. Default is 95%.
d
the desired number of digits after the decimal point. Default of 6 digits is used.
len
the total field width. Default is 6.
lab
label of printed results.
...
other unusued arguments.

Value

  • Prints HR and its confidence intervals for each covariate. Confidence level is allowed (level argument)

See Also

additivePenal

Examples

Run this code
data(dataAdditive)

modAdd <- additivePenal(Surv(t1,t2,event)~cluster(group)+var1+slope(var1),
correlation=TRUE,data=dataAdditive,n.knots=8,kappa=862,hazard="Splines")

#- 'var1' is boolean as a treatment variable.

summary(modAdd)

Run the code above in your browser using DataLab