View source: R/two_class_diag_plots.R
plot_twoclass_roc | R Documentation |
This function plots the ROC curve for a classification model.
plot_twoclass_roc(dat, y_name, event_level = "first")
dat |
The predictions data frame in the |
y_name |
The y/response variable for the model. |
event_level |
A single character value for the level corresponding to the event. |
A plotly::ggplotly()
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.