powered by
Helper function for timerocModule
timeROChelper( var.event, var.time, vars.ind, t, data, design.survey = NULL, id.cluster = NULL )
timeROC and coxph object
event
time
independent variable
data
survey data, Default: NULL
cluster variable if marginal model, Default: NULL
coxph svycoxph predict timeROC
coxph
svycoxph
predict
timeROC
# library(survival) # timeROChelper("status", "time", c("age", "sex"), t = 365, data = lung)
Run the code above in your browser using DataLab