Dear fellow R users,

I am trying to calculate the difference of the least square means from a lmer model which has a pretty much standard form of Y ~ A*B + (1|C/D)

I am using the difflsmeans command from the lmerTest package but it returns the following error line:

Error in as.data.frame.default(VarCorr(model)) :
  cannot coerce class ""VarCorr.merMod"" to a data.frame

I also tried to do it manually but apparently to no avail.

I am using the lme4 v. 1.0-6 package on Linux  (if that helps).

Any suggestions how to override this?



Thanks in advance!
Grigorios

--
__________________________________
Grigorios Georgolopoulos
Research Assistant
Animal Ecology
Department of Ecology and Genetics (IEG)
Evolutionary Biology Centre (EBC)
Uppsala University
Norbyvägen 18d, SE-752 36
Uppsala, Sweden
Email: georgolopoulosgg...@hotmail.com, grigorios.georgolopou...@ebc.uu.se

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to