Skip to contents

Predict survival by year and/or month. If year and month are FALSE, predictions are made for a 'typical' year and month.

Usage

bb_predict_survival_samples(survival, year = TRUE, month = FALSE)

Arguments

survival

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

year

A flag indicating whether to predict by year.

month

A flag indicating whether to predict by month.

Value

A list with elements:

  • samples: An mcmcarray with the MCMC samples.

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