aalenMets {mets} | R Documentation |
Fast additive hazards model with robust standard errors
Description
Fast Lin-Ying additive hazards model with a possibly stratified baseline. Robust variance is default variance with the summary.
Usage
aalenMets(formula, data = data, ...)
Arguments
formula |
formula with 'Surv' outcome (see |
data |
data frame |
... |
Additional arguments to phreg |
Details
influence functions (iid) will follow numerical order of given cluster variable so ordering after $id will give iid in order of data-set.
Author(s)
Thomas Scheike
Examples
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)
[Package mets version 1.3.4 Index]