roc_plot_multi | R Documentation |
Generate an ROC curve plot with error bars showing 95 percent confidence intervals
roc_plot_multi(df, outcome, prediction, model, ci = FALSE, plot_title = "")
df |
The df as a data.frame. |
outcome |
A character string containing the name of the column containing the outcomes (expressed as 0/1s). |
prediction |
A character string containing the name of the column containing the predictions. |
model |
A character string containing the name of the column containing the model label. |
ci |
Show confidence interval ribbon. Defaults to FALSE. |
plot_title |
A character string containing the title for the resulting plot. |
A ggplot containing the ROC plot
data(multi_model_dataset)
roc_plot_multi(multi_model_dataset, outcome = 'outcomes', prediction = 'predictions', model = 'model_name', ci = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.