group_score {AutoScore}R Documentation

Internal function: Group scores based on given score breaks, and use friendly names for first and last intervals.

Description

Internal function: Group scores based on given score breaks, and use friendly names for first and last intervals.

Usage

group_score(score, max_score, score_breaks)

Arguments

score

numeric vector of scores.

max_score

Maximum attainable value of final scores.

score_breaks

A vector of score breaks to group scores. The average predicted risk will be reported for each score interval in the lookup table. Users are advised to first visualise the predicted risk for all attainable scores to determine scores (see plot_predicted_risk)


[Package AutoScore version 1.0.0 Index]