posterior_predictive_values_long: Returns posterior predictive values in long format

Description Usage Arguments Value

View source: R/helpers.R

Description

Returns posterior predictive values in long format

Usage

1
posterior_predictive_values_long(model, n_samples = NULL, f)

Arguments

model

brmsfit

n_samples

integer

f

function

Value

tibble with columns from brmsfit$data (at least original responses, person and item identifier). Additionally y_rep (predicted answers) or ppe (posterior predictive estimate) and .draw (which MCMC draw comes the answer from).


Famondir/birtms documentation built on Feb. 18, 2022, 2:51 a.m.