Re: [R] Linear mixed model using R

2012-08-17 Thread li li
Thanks, Bert. 2012/8/17 Bert Gunter > 1. Post on R-sig-mixed-models, not here. > > 2. Models 2 and 3 make no sense (to me, anyway). What do you think > they mean? (Don't answer here -- explain on the mixed models list). > > -- Bert > > On Thu, Aug 16, 2012 at 9:13 PM, li li wrote: > > Dear all,

Re: [R] Linear mixed model using R

2012-08-16 Thread Bert Gunter
1. Post on R-sig-mixed-models, not here. 2. Models 2 and 3 make no sense (to me, anyway). What do you think they mean? (Don't answer here -- explain on the mixed models list). -- Bert On Thu, Aug 16, 2012 at 9:13 PM, li li wrote: > Dear all, > I am trying to use R to fit mixed models. > Tak

[R] Linear mixed model using R

2012-08-16 Thread li li
Dear all, I am trying to use R to fit mixed models. Take the following example, where ind is a random effect and sample is fixed. I wanted to fit Model 1: values = ind + sample Model 2: values =ind * sample Model 3: values=ind(sample) + sample Tried to use the below for mod1, but it