Description Usage Arguments Details Value
View source: R/confuMat.R View source: R/rocplot.R
Calculate and show ROC curve
ROC figure using pROC package
1 2 3 4 5 |
reality |
a vector of responses (two possible values) |
predictor |
a vector predicting the response (numeric) |
decision |
a vector of predicted responses (same values as response) |
Calculate and show ROC curve
This is a wrapper around the roc
function from the pROC package.
It plots the ROC curve, but additionally it also can add information on the
confidence interval and a confusion matrix.
rocplot
invisibly returns the return value of the roc
call
whatever the roc() function returns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.