Generate survival model validation report
validation_report(
train_data,
val_data,
model,
time_col,
status_col,
times = c(365, 730, 1095),
time_unit = "days",
output = NULL
)Invisibly returns the file path containing the validation report
training dataset containing survival outcomes.
validation dataset containing survival outcomes.
fitted 'coxph'
name of the survival time column present in both datasets
name of the event indicator column present in both datasets
follow-up timepoints
character label for the time axis (default = "days")
file path (.pptx or .html). Defaults to a temporary file.