summary.jointNestedPenal {frailtypack} | R Documentation |
summary of parameter estimates of a joint nested frailty model
Description
This function returns hazard rations (HR) and its confidence intervals.
Usage
## S3 method for class 'jointNestedPenal'
summary(object, level = 0.95, len = 6, d =
2, lab="hr", ...)
Arguments
object |
output from a call to frailtyPenal for joint nested models |
level |
significance level of confidence interval. Default is 95%. |
len |
the total field width. Default is 6. |
d |
the desired number of digits after the decimal point. Default of 6 digits is used. |
lab |
label of printed results. |
... |
other unused arguments. |
Value
Prints HR and its confidence intervals for each covariate. Confidence level is allowed (level argument).
See Also
Examples
## Not run:
#-- here is generated cluster (30 clusters)
readmissionNested <- transform(readmission,group=id%%30+1)
# Baseline hazard function approximated with splines with calendar-timescale
model.spli.AG <- frailtyPenal(formula = Surv(t.start, t.stop, event)
~ subcluster(id) + cluster(group) + dukes + terminal(death),
formula.terminalEvent = ~dukes, data = readmissionNested,
recurrentAG = TRUE, n.knots = 8, kappa = c(9.55e+9, 1.41e+12),
initialize = TRUE)
summary(model.spli.AG)
## End(Not run)
[Package frailtypack version 3.6.2 Index]