AutoScore function for binary and ordinal outcomes: Plot predicted risk
plot_predicted_risk(
pred_score,
link = "logit",
max_score = 100,
final_variables,
scoring_table,
point_size = 0.5
)Output from AutoScore_testing (for binary
outcomes) or AutoScore_testing_Ordinal (for ordinal
outcomes).
(For ordinal outcome only) The link function used in ordinal
regression, which must be the same as the value used to build the risk
score. Default is "logit" for proportional odds model.
Maximum total score (Default: 100).
A vector containing the list of selected variables,
selected from Step(ii) AutoScore_parsimony (for binary
outcomes) or AutoScore_parsimony_Ordinal (for ordinal
outcomes).
The final scoring table after fine-tuning, generated
from STEP(iv) AutoScore_fine_tuning (for binary outcomes) or
AutoScore_fine_tuning_Ordinal (for ordinal outcomes).
Size of points in the plot. Default is 0.5.