timeROChelper | R Documentation |
Helper function for timerocModule
timeROChelper(
var.event,
var.time,
vars.ind,
t,
data,
design.survey = NULL,
id.cluster = NULL
)
var.event |
event |
var.time |
time |
vars.ind |
independent variable |
t |
time |
data |
data |
design.survey |
survey data, Default: NULL |
id.cluster |
cluster variable if marginal model, Default: NULL |
Helper function for timerocModule
timeROC and coxph object
coxph
svycoxph
predict
timeROC
# library(survival)
# timeROChelper("status", "time", c("age", "sex"), t = 365, data = lung)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.