auc for model
auc(...)# S3 method for cph
auc(..., model = NULL, x = NULL, method = c("NNE", "KM"))
# S3 method for coxph
auc(..., model = NULL, x = NULL, method = c("NNE", "KM"))
one or more fit
can be logical or characters. FALSE means no model TP and FP, characters mean model names.
can be logical or characters. TRUE means all x variable in regression will be calculated. One or more characters will be calculated only.
NNE or KM
auc dataframe
one auc_coxph for cox regression. model means model names,