brms now uses the posterior package approach for posterior draws, which seems to bears little resemblance to the posterior_draws function by default. The documentation for as_draws and related doesn't really describe what the functions return or what to do with them, but at first blush the as_draw_matrix should work similarly to how posterior_samples was used for extract_random_effects. Ideally though, we could use the new approach to save some other processing, e.g. going directly to df/tibble via summarize_draws, but it'd be nice to avoid another dependency.
Note that this only applies to extract_random_effects/coefs.
brms now uses the posterior package approach for posterior draws, which seems to bears little resemblance to the
posterior_draws
function by default. The documentation foras_draws
and related doesn't really describe what the functions return or what to do with them, but at first blush theas_draw_matrix
should work similarly to howposterior_samples
was used forextract_random_effects
. Ideally though, we could use the new approach to save some other processing, e.g. going directly to df/tibble viasummarize_draws
, but it'd be nice to avoid another dependency.Note that this only applies to
extract_random_effects/coefs
.