Based on: http://blog.revolutionanalytics.com/2016/08/roc-curves-in-two-lines-of-code.html
calcPR(modelPredictions, yValues)
| modelPredictions | numeric predictions (not empty) |
|---|---|
| yValues | logical truth (not empty, same lenght as model predictions) |
line graph, point graph, and summaries
See also https://github.com/WinVector/sigr