This samples from the posterior predictive for each component in a multiresponse Bayesian Regression model.
Arguments
- fits
The fitted 'BRMS' model model from which to draw samples.
- newdata
A data.frame containing new inputs from which to sample responses. If NULL, defaults to the data used to estimate fit.
- indices
The coordinates of the response from which we want to sample.
- ...
Additional arguments to pass to
posterior_predict
in the 'brms' package.