auc: auc for model

Description Usage Arguments Value

View source: R/auc.R

Description

auc for model

Usage

1
2
3
4
5
6
7
auc(...)

## S3 method for class 'cph'
auc(..., model = NULL, x = NULL, method = c("NNE", "KM"))

## S3 method for class '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,


modelROC documentation built on June 25, 2021, 5:09 p.m.

Related to auc in modelROC...