Deprecated methods for building the data sets needed for plotting
Receiver-Operating Curves and Precision-Recall Curves. Use
confusion_matrix instead.
Usage
qroc_build_data_frame(fit, truth = NULL, n_threshold = 200, ...)
# Default S3 method
qroc_build_data_frame(fit, truth = NULL, n_threshold = 200, ...)
# S3 method for class 'glm'
qroc_build_data_frame(fit, truth = NULL, n_threshold = 200, ...)
qprc_build_data_frame(fit, n_threshold = 200, ...)Arguments
- fit
a
glmfit withfamily = binomial(), or predicted values- truth
ignored if
fitis aglmobject. A vector of observations, 0/1 or FALSE/TRUE values, of equal length tofit- n_threshold
number of thresholds to use to estimate auroc or auprc
- ...
passed to
predict