R/timeroc.R
survIDINRI_helper.Rd
Helper function for IDI.INF.OUT in survIDINRI packages
survIDINRI_helper( var.event, var.time, list.vars.ind, t, data, dec.auc = 3, dec.p = 3, id.cluster = NULL )
var.event | event |
---|---|
var.time | time |
list.vars.ind | list of independent variable |
t | time |
data | data |
dec.auc | digits for AUC, Default: 3 |
dec.p | digits for p value, Default: 3 |
id.cluster | cluster variable if marginal model, Default: NULL |
IDI, NRI
Helper function for IDI.INF.OUT in survIDINRI packages
# library(survival) # survIDINRI_helper("status", "time", list.vars.ind = list("age", c("age", "sex")), # t = 365, data = lung)