print.rocitaucci: Print Confidence Interval of AUC

Description Usage Arguments Examples

View source: R/printaucCI.R

Description

Print Confidence Interval of AUC

Usage

1
2
## S3 method for class 'rocitaucci'
print(x, ... = NULL)

Arguments

x

An object of class rocitaucci created with ciAUC.

...

NULL. Used for S3 generic/method consistency.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
data("Diabetes")
logistic.model <- glm(as.factor(dtest)~chol+age+bmi,
                      data = Diabetes,family = "binomial")
score <- logistic.model$fitted.values
class <- logistic.model$y
# Make the rocit objects
rocit_bin <- rocit(score = score, class = class, method = "bin")
obj_1 <- ciAUC(rocit_bin, level = 0.9)
obj_2 <- ciAUC(rocit_bin, delong = TRUE)
obj_3 <- ciAUC(rocit_bin, delong = TRUE, logit = TRUE)
# Print
print(obj_1)
print(obj_2)
print(obj_3)

ROCit documentation built on July 1, 2020, 11:28 p.m.