roc | R Documentation |
Compute ROC and area under ROC
roc(obs, pred, thresholds)
obs |
A vector observations (value 0,1) |
pred |
A vector of probabilities [0,1]. |
thresholds |
A vector of threshold probabilities |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.