plot_predicted_risk {AutoScore} | R Documentation |
AutoScore function for binary and ordinal outcomes: Plot predicted risk
Description
AutoScore function for binary and ordinal outcomes: Plot predicted risk
Usage
plot_predicted_risk(
pred_score,
link = "logit",
max_score = 100,
final_variables,
scoring_table,
point_size = 0.5
)
Arguments
pred_score |
Output from |
link |
(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 |
max_score |
Maximum total score (Default: 100). |
final_variables |
A vector containing the list of selected variables,
selected from Step(ii) |
scoring_table |
The final scoring table after fine-tuning, generated
from STEP(iv) |
point_size |
Size of points in the plot. Default is 0.5. |