[R] Obtaining Least Square Means with lme (mixed models)

Claudia Ceballos ceballos at iastate.edu
Mon Feb 23 18:49:33 CET 2009


Hi Dear Alex, A few years ago you sent this email to R list:

Hello,
I was wondering how one could obtain LSM for fixed factors in a
mixed-effect model using lme. In other words, if I have model such as:
model<-lme(yield~period+treatment+period*treatment,
data=data,random=~1|cow)
how can I get LSM for period, treatment and their interaction?
Thanks a lot!
Alex

What was the response?? I have the same question!

Thanks!
-- 
Claudia Ceballos
Ph.D. Candidate, Department of Ecology, Evolution and Organismal Biology
253 Bessey Hall, Iowa State University, Ames, IA 50011
http://www.public.iastate.edu/~ceballos/




More information about the R-help mailing list