aalenMets | R Documentation |
Fast Lin-Ying additive hazards model with a possibly stratified baseline. Robust variance is default variance with the summary.
aalenMets(formula, data = data, ...)
formula |
formula with 'Surv' outcome (see |
data |
data frame |
... |
Additional arguments to phreg |
influence functions (iid) will follow numerical order of given cluster variable so ordering after $id will give iid in order of data-set.
Thomas Scheike
data(bmt); bmt$time <- bmt$time+runif(408)*0.001
out <- aalenMets(Surv(time,cause==1)~tcell+platelet+age,data=bmt)
summary(out)
## out2 <- timereg::aalen(Surv(time,cause==1)~const(tcell)+const(platelet)+const(age),data=bmt)
## summary(out2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.