[R] Different random intercepts but same random slope for groups

Ben Bolker bbolker at gmail.com
Wed Jun 10 01:28:03 CEST 2015


li li <hannah.hlx <at> gmail.com> writes:

> 

[snip]

>   I'd like to fit a random intercept and random slope model. In my
> data, there are three groups. I want to have different random
> intercept for each group but the same random slope effect for all
> three groups. I used the following R command.
> However, there seems to be some problem. Any suggestions?

  Please do not cross-post to more than one R list (in this
case, r-sig-mixed-models is more appropriate, and you've already
gotten some answers there).
 
  Ben Bolker



More information about the R-help mailing list