Learn R Programming

modelROC (version 1.0)

auc: auc for model

Description

auc for model

Usage

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"))

Arguments

...

one or more fit

model

can be logical or characters. FALSE means no model TP and FP, characters mean model names.

x

can be logical or characters. TRUE means all x variable in regression will be calculated. One or more characters will be calculated only.

method

NNE or KM

Value

auc dataframe

one auc_coxph for cox regression. model means model names,