brms_full_ppred: Full forward sampling of a the response of brms fit,...

View source: R/generator-brms.R

brms_full_ppredR Documentation

Full forward sampling of a the response of brms fit, including multivariate models.

Description

Full forward sampling of a the response of brms fit, including multivariate models.

Usage

brms_full_ppred(fit, newdata = NULL, draws = NULL, validate_all = FALSE)

Arguments

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

Value

A list of data.frames containing the draws.

Examples

# Pending

hyunjimoon/SBC documentation built on March 15, 2024, 3:18 a.m.