Description Usage Arguments Value
draw_fixef(), draw_ranef(), and draw_coef() are analogous to the
functions lme4::fixef(), lme4::ranef(), and
lme4:::coef.merMod() except that they return a tidy
data-frame and return posterior samples.
1 2 3 4 5 6 7 | draw_fixef(model, nsamples = NULL)
draw_ranef(model, nsamples = NULL)
draw_coef(model, nsamples = NULL)
draw_var_corr(model, nsamples = NULL)
|
model |
a mixed effects model fit with rstanarm |
nsamples |
the number of posterior samples to draw. Defaults to all samples. |
a long/tidy tibble::tibble(). Each row contains a posterior sample
of a parameter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.