[R] mixed effects regression with weights using lme (lme4)

2010-10-26 Thread Dimitri Liakhovitski
Hello! I am sorry if it's a naive/wrong question. But can one run a regression with weights using lme? Thank you! -- Dimitri Liakhovitski Ninah Consulting www.ninah.com __ R-help@r-project.org mailing list

Re: [R] mixed effects regression with weights using lme (lme4)

2010-10-26 Thread Ista Zahn
Hi Dimitri, The lme function is not in the lme4 package, so there is some confusion there. But you can use weights with the lmer function in lme4. ?lmer tells you that weights are specified the same way as in the lm function, and refers you to ?lm for details. HTH, Ista On Tue, Oct 26, 2010 at

Re: [R] mixed effects regression with weights using lme (lme4)

2010-10-26 Thread Dimitri Liakhovitski
Thanks a lot - it's very helpful. On Tue, Oct 26, 2010 at 11:37 AM, Ista Zahn iz...@psych.rochester.edu wrote: Hi Dimitri, The lme function is not in the lme4 package, so there is some confusion there. But you can use weights with the lmer function in lme4. ?lmer tells you that weights are