Re: [R] [R-sig-ME] Post hoc tests with lme

2008-04-17 Thread Gang Chen
Thanks for the suggestion, Somon! I did try glht from multcomp package, but the problem is that for the hypothesis H0: TypeT1 =0 and TypeT2 = 0 it gives results for two separate hypotheses H01: TypeT1 =0 and H02: TypeT2 = 0, not exactly one statistic for the original hypothesis H0. So my

Re: [R] [R-sig-ME] Post hoc tests with lme

2008-04-16 Thread Robert Kushler
At the risk of annoying Doug Bates, I'll point out that glht in the multcomp package works with lmer objects. In fact, you can supply your own degrees of freedom value via the df argument (a fact which is not immediately obvious in the glht help page). If you don't supply a df value, it will use

Re: [R] [R-sig-ME] Post hoc tests with lme

2008-04-16 Thread Simon Blomberg
Try glht in package multcomp. Simon. On Wed, 2008-04-16 at 12:00 -0400, Gang Chen wrote: = 1), c(TypeT2 = 1))) : Only defined for lm,glm objec -- Simon Blomberg, BSc (Hons), PhD, MAppStat. Lecturer and Consultant Statistician Faculty of Biological and Chemical Sciences The University of