Learn R Programming

lares (version 4.4)

mplot_roc: ROC Curve Plot

Description

This function plots ROC Curves with AUC values with 95% confidence range

Usage

mplot_roc(tag, score, model_name = NA, subtitle = NA, interval = 0.2,
  plotly = FALSE, save = FALSE, subdir = NA,
  file_name = "viz_roc.png")

Arguments

tag

Vector. Real known label

score

Vector. Predicted value or model's result

model_name

Character. Model's name

subtitle

Character. Subtitle to show in plot

interval

Numeric. Interval for breaks in plot

plotly

Boolean. Use plotly for plot's output for an interactive plot

save

Boolean. Save output plot into working directory

subdir

Character. Sub directory on which you wish to save the plot

file_name

Character. File name as you wish to save the plot