summary.additivePenal | R Documentation |
This function returns hazard ratios (HR) and its confidence intervals
## S3 method for class 'additivePenal'
summary(object, level = 0.95, len = 6, d = 2,
lab="hr", ...)
object |
output from a call to additivePenal. |
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. |
Prints HR and its confidence intervals for each covariate. Confidence level is allowed (level argument)
additivePenal
## Not run:
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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.