Compute survival rates by KM estimate for given time points for an univariate survival analysis
survival_rates(
result,
time_points,
percentage_decimal_places = 1,
time_precision = 0,
timespan_unit = c("days", "months", "years")
)
A data frame with time, number at risk, number with event, survival rate with CI, and time and rate formatted for printing
The result generated by analyse_survival
Time points to compute survival rate at
Precision with which to print floating point values in their label form
Unit for time spans: "days", "months" or "years".