Skip to contents

Decision curve analysis

Usage

decision_curve_analysis(y_true, y_pred, thresholds = NULL)

Arguments

y_true

Integer 0/1 vector.

y_pred

Predicted probabilities.

thresholds

Numeric vector of thresholds (defaults to seq(0.01, 0.99, 0.01)).