Pass in rstanfit
model object. Returns array of predictions, dimensioned
number of MCMC draws x number of MCMC chains x time series length x number of time series
predicted(fitted_model)
Samples extracted (with permuted = FALSE
) from a Stan
model. E.g. output from invert_chains()
.