Predict survival by year as trend line. Survival fit object provided must be created with year_trend = TRUE.

bb_predict_survival_trend(
  survival,
  conf_level = 0.95,
  estimate = median,
  sig_fig = 5
)

Arguments

survival

An object of class 'bboufit_survival' (output of bb_fit_survival()).

conf_level

A number between 0 and 1 of the confidence level.

estimate

A function to calculate the estimate.

sig_fig

A whole number of the significant figures to round estimates by.

Value

A tibble of the predicted estimates.