plot_survival_km: AutoScore function for survival outcomes: Print scoring...

View source: R/AutoScore_Survival.R

plot_survival_kmR 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


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