Hello,
I have successfully fit a linear mixed-effects model, and I'm looking to extract the random effect component for individual groups. I know that the full list of random effects can be extracted using
random.effects(model)
Then print(random.effects(model)) gives a two-column list of group names and random effects, even though the data itself appears to have only one column. My question is whether it is possible to "look up" the random effect associated with a particular group by the group name, or, if not, how I can find a list of group names in the same order as the random effects in the data frame that is output by random.effects().
Thanks
Mark Ch.