[R] Testing year effect in lm() ***failed first time, sending again

Emmanuel Charpentier emm.charpentier at free.fr
Wed Aug 5 18:17:43 CEST 2009

Le jeudi 30 juillet 2009 à 16:41 -0600, Mark Na a écrit :
> Dear R-helpers,
> I have a linear model with a year effect (year is coded as a factor), i.e.
> the parameter estimates for each level of my year variable have significant
> P values (see some output below) and I am interested in testing:
> a) the overall effect of year;
> b) the significance of each year vis-a-vis every other year (the model
> output only tests each year against the baseline year).


and use the vignettes ! They're good (and are a good complement to
somewhat incomplete  help pages : what in h*ll are valid arguments to
mcp() beyond "Tukey" ??? Curently, you'll have to dig in the source to
learn that...).


					Emmanuel Charpentier

More information about the R-help mailing list