Map truth (actual class; for factors the second level is the positive class) and score (predicted score); map color to compare models.

geom_roc(
  mapping = NULL,
  data = NULL,
  color = NULL,
  alpha = NULL,
  linewidth = NULL
)

Arguments

mapping, data, color, alpha

As in geom_point().

linewidth

Curve width.

Value

A Layer.