View source: R/AutoScore_Survival.R
plot_survival_km | R Documentation |
Print scoring performance (KM curve) for survival outcome
plot_survival_km( pred_score, score_cut = c(40, 50, 60), risk.table = TRUE, title = NULL, legend.title = "Score", xlim = c(0, 90), break.x.by = 30, ... )
pred_score |
Generated from STEP(v) |
score_cut |
Score cut-offs to be used for the analysis |
risk.table |
Allowed values include: TRUE or FALSE specifying whether to show or not the risk table. Default is TRUE. |
title |
Title displayed in the KM curve |
legend.title |
Legend title displayed in the KM curve |
xlim |
limit for x |
break.x.by |
Threshold for analyze sensitivity, |
... |
additional parameters to pass to
|
No return value and the KM performance will be plotted.
AutoScore_testing_Survival
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.