View source: R/mcpfit_methods.R
tidy_samples | R Documentation |
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 |
One of:
|
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.