Plot ROC curve for a dx object
dx_roc(
dx_obj,
curve_color = "#0057B8",
fill_color = "#cfcdcb",
text_color = "black",
add_text = TRUE,
add_ref_lines = TRUE,
add_fractions = TRUE,
axis_color = "#333333",
add_ref_circle = TRUE,
ref_lines_color = "#8a8887",
circle_ref_color = "#E4002B",
summary_stats = c(1, 2, 3, 4, 5, 6, 7, 8),
filename = NA
)
An object of class dx
Color of ROC curve
Color to be filled in under the ROC curve. Use "transparent" if you do not want a color to show.
Color of text on ROC curve
(Logical) Include stats on ROC curve?
(Logical) Include reference lines on ROC curve?
(Logical) Include fractions on ROC curve?
Color of x and y axis
(Logical) Include a circle around specificity and sensitivity at the specified threshold?
Color for reference lines
Color of reference circle
Statistics to include on ROC curve
File name to create on disk using ggplot2::ggsave. If left NA, no file will be created.