Skip to contents

This function takes data frames for ROC curve and AUC and builds a ggplot ROC curve.

Usage

build_gg_roc_curve(
  data_curve,
  data_auc,
  palette_color = c("#500472", "#79cbb8"),
  ...
)

Arguments

data_curve

Data frame with ROC curve.

data_auc

Data frame with AUC.

palette_color

List of colors used.

...

Additional arguments to be passed to ggplot2::geom_path.

Value

A ggplot object representing the ROC curve.