pp_check_vars: List the posterior predictive checks available for a model...

View source: R/pp_observables.R

pp_check_varsR Documentation

List the posterior predictive checks available for a model fit

Description

Lists the values resp_var accepts in pp_check.bmmfit() for a fitted model whose likelihood involves several observables.

Usage

pp_check_vars(fit)

Arguments

fit

A bmmfit object returned by bmm().

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.

See Also

pp_check.bmmfit()

Examples

## Not run: 
fit <- bmm(bmmformula(drift ~ condition), data, ddm(rt = "rt", response = "response"))
pp_check_vars(fit)
pp_check(fit, resp_var = "response")

## End(Not run)

bmm documentation built on Oct. 16, 2026, 9:08 a.m.