plotly
to produce a ROC plot.Use plotly
to produce a ROC plot.
plotlyROC(d, predCol, outcomeCol, outcomeTarget, title, ...)
d | dataframe |
---|---|
predCol | name of column with numeric predictions |
outcomeCol | name of column with truth |
outcomeTarget | value considred true |
title | character title for plot |
... | no unnamed argument, added to force named binding of later arguments. |
plotly plot
d <- data.frame(x= 1:5, y= c(TRUE, FALSE , TRUE, TRUE, TRUE)) plotlyROC(d, 'x', 'y', TRUE, 'example plot')