Print the essentials of a SurvivalAnalysisUnivariateResult
# S3 method for SurvivalAnalysisUnivariateResult
print(
x,
...,
label = NULL,
p_precision = 3,
hr_precision = 2,
time_precision = 1,
include_end_separator = FALSE,
timespan_unit = c("days", "months", "years")
)
The result generated by analyse_survival
Further arguments passed from other methods.
A label describing the result
Precision with which to print floating point values
Precision with which to print floating point values
Precision with which to print floating point values
Append "\n---\n"? Comes handy if printing multiple results following each other
Unit for time spans: "days", "months" or "years".
The formatted string, invisibly.