Get tidy samples with or without varying effects
Returns in a format useful for fit$simulate()
with population parameters in wide format
and varying effects in long format (the number of rows will be nsamples * n_levels_in_varying
).
tidy_samples( fit, population = TRUE, varying = TRUE, absolute = FALSE, prior = FALSE, nsamples = NULL )
fit |
An |
population |
|
varying |
|
absolute |
|
prior |
TRUE/FALSE. Summarise prior instead of posterior? |
nsamples |
Integer or |
tibble
of posterior draws in tidybayes
format.
Jonas Kristoffer Lindeløv jonas@lindeloev.dk
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.