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

2009-07-30 Thread Mark Na
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 v

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

2009-08-05 Thread Emmanuel Charpentier
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

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

2009-08-05 Thread Mark Difford
Emmanuel, >> 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...). Not so: they are clearly stated in ?contrMat. Regards, Mark. Emmanuel Charpentier-3 wrote: > > Le jeudi 30 juillet 2

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

2009-08-06 Thread Emmanuel Charpentier
Le mercredi 05 août 2009 à 09:52 -0700, Mark Difford a écrit : > Emmanuel, > > >> 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...). > > Not so: they are clearly stated in ?contrMat