Skip to contents

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

Usage

bb_predict_survival_trend_samples(survival)

Arguments

survival

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

Value

A list with elements:

  • samples: An mcmcarray with the MCMC samples.

  • data: A data.frame containing the associated prediction data.