Builds a ggplot precision-recall curve.
build_gg_pr_curve.Rd
This function takes data frames for precision-recall curve and AUC and builds a ggplot precision-recall curve.
Usage
build_gg_pr_curve(
data_curve,
data_auc,
palette_color = c("#500472", "#79cbb8"),
...
)
Arguments
- data_curve
Data frame with precision-recall curve.
- data_auc
Data frame with AUC.
- palette_color
list of colors used.
- ...
Additional arguments to be passed to
ggplot2::geom_path
.