search for: anovaf2

Displaying 1 result from an estimated 1 matches for "anovaf2".

Did you mean: anova2
2007 Nov 07
1
bug in multcomp?
...ning a linear model with achiev as the outcome and major as my iv (5 levels). The lm statement runs fine, but for the glht command I get the following error. I noted that someone else asked the same question a while back but received no reply. I am hoping someone might know what is happening. anovaf2<-lm(achiev ~ major, data=data_mcp) > pairwise<- glht(anovaf2,linfct = mcp(major = "tukey")) Error in mcp2matrix(model, linfct = linfct) : Factor(s) major have been specified in 'linfct' but cannot be found in 'model'! Any help would be much appreciated...