group_score: Internal function: Group scores based on given score breaks,...

group_scoreR 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)


AutoScore documentation built on Oct. 16, 2022, 1:06 a.m.