?predict.lme, probably with level =0. -- Bert Gunter Genentech
-----Original Message----- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Claudia Ceballos Sent: Monday, February 23, 2009 9:50 AM To: r-h...@stat.math.ethz.ch Subject: [R] Obtaining Least Square Means with lme (mixed models) 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/ ______________________________________________ R-help@r-project.org mailing list 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. ______________________________________________ R-help@r-project.org mailing list 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.