cindex | R Documentation |
cindex
Calculates the c-index and standard error for
logistic and Cox regression models and the degrees of freedom
to be further used in function with.milist
.
cindex(formula, data)
formula |
A formula object to specify the model as normally used by glm or coxph. |
data |
An object of class |
The c-index, related standard error and complete data degrees of freedom (dfcom) as n-1.
Martijn Heymans, 2021
with.milist
, pool_cindex
imp_dat <- df2milist(lbpmilr, impvar="Impnr") ra <- with(data=imp_dat, expr = cindex(glm(Chronic ~ Gender + Radiation, family=binomial)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.