Learn R Programming

CalibratR (version 0.1.2)

visualize_calibrated_test_set: visualize_calibrated_test_set

Description

plots a panel for all calibrated predictions from the respective calibration model. Allows visual comparison of the models output and their optimal cut off

Usage

visualize_calibrated_test_set(actual, predicted_list, cutoffs)

Arguments

actual

vector of observed class labels (0/1)

predicted_list

predict_calibratR$predictions object (list of calibrated predictions from calibration models)

cutoffs

vector of optimal cut-off thresholds for each calibration model

Value

ggplot2 element for visual comparison of the evaluated calibration models

See Also

ggplot,geom_point,scale_colour_manual,xlab,ylab,geom_hline,ylim