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)
Arguments
formula: A formula object to specify the model as normally used by glm or coxph.
data: An object of class milist, created by df2milist, list2milist or mids2milist.
Returns
The c-index, related standard error and complete data degrees of freedom (dfcom) as n-1.