The outcome: numbers, strings or booleans (null or NaN for a missing value).
The predictor, numeric, of the same length (NaN for a missing value).
Optionaloptions: RocOptions
See RocOptions.
The ROC curve from a formula response ~ predictor and a data frame; the rows where either is missing are dropped.
"response ~ predictor".
The data frame: an object of columns (null or NaN for a missing value).
Optionaloptions: RocOptions
See RocOptions.
The ROC curve from the predictor values of the controls and of the cases (pROC's roc(controls =, cases =)).
The two samples.
Optionaloptions: RocOptions
See RocOptions (without levels).
The ROC curve of a numeric predictor of a binary response. Equivalent to
pROC::roc()in R.The first level of the response is the control, the second the case (with more than two levels the first two are used, with pROC's warning). The thresholds are the midpoints between consecutive distinct values, with
-InfinityandInfinityat the ends, and the points are stored as pROC stores them, by increasing specificity. The AUC is computed from the counts as U/(mn) and rounded once. Infinite predictor values are an error (pROC returns NaN with a warning), as are an empty class and, withnaRm: false, missing values (pROC returns NA).