View source: R/cac_functions.R
| make_cac_gg | R Documentation |
Creates a ggplot2 visualization of CAC data showing the relationship between confidence and accuracy.
make_cac_gg(cacobj_list, show_errorbars = TRUE, show_n = TRUE)
cacobj_list |
List output from make_cacdata() |
show_errorbars |
Logical. Whether to show error bars (default = TRUE) |
show_n |
Logical. Whether to show sample sizes (default = TRUE) |
A ggplot2 object
data(lineup_example)
cac <- make_cacdata(lineup_example, confidence_bins = c(0, 60, 80, 100))
make_cac_gg(cac)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.