View source: R/dpp_functions.R
| plot_dpp_comparison | R Documentation |
Overlays DPP at each operating point for two procedures.
plot_dpp_comparison(
compare_obj,
proc_a_label = "Procedure A",
proc_b_label = "Procedure B"
)
compare_obj |
List output from compare_dpp() |
proc_a_label |
Character. Label for procedure A (default = "Procedure A") |
proc_b_label |
Character. Label for procedure B (default = "Procedure B") |
A ggplot2 object
data(lineup_example)
odd <- seq(1, nrow(lineup_example), by = 2)
cmp <- compare_dpp(lineup_example[odd, ], lineup_example[-odd, ],
n_bootstrap = 0)
plot_dpp_comparison(cmp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.