print.rocitaucci: Print Confidence Interval of AUC

View source: R/printaucCI.R

print.rocitaucciR Documentation

Print Confidence Interval of AUC

Description

Print Confidence Interval of AUC

Usage

## 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

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 May 29, 2024, 2:15 a.m.