Skip to content
Prev 12208 / 20628 Next

lme and lmer

Thank you, that explains everything!

Nick

-----Original Message-----
From: Viechtbauer Wolfgang (STAT) [mailto:wolfgang.viechtbauer at maastrichtuniversity.nl] 
Sent: 30 July 2014 09:47
To: Nicholas Burgoyne; r-sig-mixed-models at r-project.org
Subject: RE: lme and lmer

If you want to fit the same models, you should use:

lme <- lme(fixed=Conc ~ Lab, data=coop, random = ~ 1 | Bat, subset=coop$Spc=="S1")

I am surprised that it even ran with 'random = ~ Bat' (lme in R throws an error).

Best,
Wolfgang

--   
Wolfgang Viechtbauer, Ph.D., Statistician   
Department of Psychiatry and Psychology   
School for Mental Health and Neuroscience   
Faculty of Health, Medicine, and Life Sciences   
Maastricht University, P.O. Box 616 (VIJV1)   
6200 MD Maastricht, The Netherlands   
+31 (43) 388-4170 | http://www.wvbauer.com
--

LEGAL NOTICE\ \ This message is intended for the use of ...{{dropped:18}}