replicating Stata's xtmixed with lmer in R

Great. Please mark the solution for the benefit of those to follow.

1 Like