print.rocitaucci | R Documentation |
Print Confidence Interval of AUC
## S3 method for class 'rocitaucci'
print(x, ... = NULL)
x |
An object of class |
... |
|
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.