plot_survival_km {AutoScore}R Documentation

AutoScore function for survival outcomes: Print scoring performance (KM curve)

Description

Print scoring performance (KM curve) for survival outcome

Usage

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,
  ...
)

Arguments

pred_score

Generated from STEP(v)AutoScore_testing_Survival()

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 ggsurvplot .

Value

No return value and the KM performance will be plotted.

See Also

AutoScore_testing_Survival


[Package AutoScore version 1.0.0 Index]