Bimodal distribution

For a simple model

y_ij | u_i ~ N(u_i, s^2)

we usually assume u_i ~ N(0, tau^2) when obtaining the posterior distribution for u_i. However, if a bimodal (instead of unimodal) distribution is more appropriate for u_i, is there any way to handle the situation?

Ideally, you would condition on whatever is the source of the bimodality. Failing that, a mixture of two normals. See the log_mix function.

Thanks, Ben! Is there a specification available with stan_lmer() in rstanarm? Or I have to code it directly using Stan?

Nothing like that is in the rstanarm package