Learn R Programming

AutoScore (version 1.1.0)

evaluate_model_ord: Internal function: Evaluate model performance on ordinal data

Description

Internal function: Evaluate model performance on ordinal data

Usage

evaluate_model_ord(label, score, n_boot, report_cindex = TRUE)

Value

Returns a list of the mAUC (mauc) and generalized c-index (cindex, if requested for) and their 95

Arguments

label

outcome variable

score

predicted score

n_boot

Number of bootstrap cycles to compute 95% CI for performance metrics.

report_cindex

If generalized c-index should be reported alongside mAUC (Default:FALSE).