
List the posterior predictive checks available for a model fit
Source:R/pp_observables.R
pp_check_vars.RdLists the values resp_var accepts in pp_check.bmmfit() for a fitted
model whose likelihood involves several observables.
Arguments
- fit
A
bmmfitobject returned bybmm().
Value
A data.frame with one row per available check (columns resp_var,
label, default_type, slot, listing the brms standata slots the check
reads, and default, flagging the observable that pp_check() plots when
resp_var is not specified), or NULL invisibly for models without
multi-observable support.
Examples
if (FALSE) { # \dontrun{
fit <- bmm(bmmformula(drift ~ condition), data, ddm(rt = "rt", response = "response"))
pp_check_vars(fit)
pp_check(fit, resp_var = "response")
} # }