Prediction for age-period-cohort models
predict_apc(object, periods = 0, population = NULL, quantiles = c(0.05, 0.5, 0.95), update = FALSE)
number of periods to predict
matrix of (predicted) population, if NULL, population data from original bamp call will be used
vector of quantiles to compute
boolean. If TRUE, object will be returned with results added to the object
list with quantiles of predicted probabilities (pr), predicted cases (cases) and predicted cases per period (cases_period) and a list samples with MCMC samples of pr, cases and cases_period. If update=TRUE, the apc object will be returned with this list (predicted) added.