View source: R/inverse_forward_sampling.R
brms_full_ppred | R Documentation |
Full forward sampling of a the response of brms fit, including multivariate models.
brms_full_ppred(fit, newdata = NULL, draws = NULL, validate_all = FALSE)
fit |
An object of class 'brmsfit' |
newdata |
An optional data.frame for which to evaluate predictions. If NULL (default), the original data of the model is used. |
draws |
An integer vector specifying the posterior draws to be used. If NULL (the default), all draws are used. |
validate_all |
if TRUE, validation of input data will be done in all iterations, otherwise only once |
A list of data.frames containing the draws.
This function is taken from the SBC package (https://github.com/hyunjimoon/SBC) and only here to ensure stability, as it is not exported in SBC.
# Pending
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.