Difficulty in visualizing the results

After fitting the data through rstanarm:

fm ← stan_lmer()

I would like to examine the result with

plot(fm)

However, there are a few hundred rows in the plot, so it’s very hard to see the details. Is there a way I could zoom in or plot the result in a piecemeal fashion?

There is both a pars argument and a regex_pars argument that can be specified as documented
http://mc-stan.org/rstanarm/reference/plot.stanreg.html

You can also get the posterior draws and then use the underlying functions in the bayesplot package directly, which perhaps makes all the options a bit clearer.

1 Like