remove_layers_cutoff_plot {BayesianReasoning} | R Documentation |
remove_layers_cutoff_plot Remove layers from a cutoff plot. This is useful to show how different things are calculated (e.g. Sensitivity)
Description
remove_layers_cutoff_plot Remove layers from a cutoff plot. This is useful to show how different things are calculated (e.g. Sensitivity)
Usage
remove_layers_cutoff_plot(cutoff_plot, delete_what, silent = TRUE)
Arguments
cutoff_plot |
A plot_cutoff() plot |
delete_what |
Elements to delete (i.e. FP, FN, TP, TN) |
silent |
TRUE do not show debug info |
Value
a cutoff plot without the elements deleted
Examples
## Not run:
PLOT = plot_cutoff(prevalence = 0.2)
remove_layers_cutoff_plot(PLOT$final_plot, delete_what = c("FN", "TP")) +
ggplot2::labs(subtitle = "Specificity = TN/(TN+FP)")
## End(Not run)
[Package BayesianReasoning version 0.4.2 Index]