Re: [R] error when using multcomp and lm

2009-12-18 Thread Achim Zeileis
On Fri, 18 Dec 2009, chrischizinski wrote: Just in case anyone ever has similar issues, it appears that 'glht' does not work without an intercept. That is not precise enough to be useful. I've had a look again and appears to be the case that mcp() (or rather the internal function mcp2matrix)

Re: [R] error when using multcomp and lm

2009-12-18 Thread Torsten Hothorn
On Fri, 18 Dec 2009, Achim Zeileis wrote: On Fri, 18 Dec 2009, chrischizinski wrote: Just in case anyone ever has similar issues, it appears that 'glht' does not work without an intercept. That is not precise enough to be useful. I've had a look again and appears to be the case that mcp()

Re: [R] error when using multcomp and lm

2009-12-18 Thread chrischizinski
Just in case anyone ever has similar issues, it appears that 'glht' does not work without an intercept. -- View this message in context: http://n4.nabble.com/error-when-using-multcomp-and-lm-tp964705p974823.html Sent from the R help mailing list archive at Nabble.com.

[R] error when using multcomp and lm

2009-12-15 Thread chrischizinski
I am trying to use multcomp to do a Tukey posthoc on growth increments among genetic crosstypes. #Fixed effect model m1 <- lm(inc ~ 0 + Age+ Crosstype + Sex, data = Data.age) summary(m1) RESULTS of the model: summary(m1) Call: lm(formula = inc ~ 0 + Age + Crosstype + Sex, data = Data.age) Res