survIDINRI_helper | R Documentation |
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 |
Helper function for IDI.INF.OUT in survIDINRI packages
IDI, NRI
data.table
model.matrix
coxph
Surv
IDI.INF.OUT
IDI.INF
# library(survival)
# survIDINRI_helper("status", "time", list.vars.ind = list("age", 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.