Skip to contents

Creates a clinical table from RMST analysis results.

Usage

create_rmst_table(
  result,
  title = "Restricted Mean Survival Time Analysis",
  footnotes = NULL,
  autofit = TRUE
)

Arguments

result

An RMSTResult object

title

Table title

footnotes

Optional character vector of footnote strings (or NULL) to append to the table.

autofit

Logical. Whether to autofit column widths

Value

A ClinicalTable object

Examples

if (FALSE) { # \dontrun{
table <- create_rmst_table(result, title = "RMST Analysis")
} # }