build_AUC_plot | R Documentation |
Internal function: Build an AUC ggplot2 object
build_AUC_plot(
df,
threshold,
title = "",
show.legend = FALSE,
ylimit = c(-1, 1),
yintercept = NULL,
is_two_sided = TRUE
)
df |
A data frame consists of 'x', 'y', 'color', 'shape', 'label' |
threshold |
A numeric inherits 'threshold' in 'IAUC' and 'LAUC' |
title |
A character represents the plot's title |
show.legend |
Logical which controls the illustration of the legends |
ylimit |
A vector for lower and upper limits of y-axis |
A ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.