Displaying 1 result from an estimated 1 matches for "diffpha48".
2011 Sep 28
0
Trouble with performing post hoc analysis Tukey for lme model using ghlt
...n contrMat(table(mf[[nm]]), type = types[pm]) :
less than two groups)
My model is looking at effect of incubation temperature (3 groups) on PHA
with hen as a my random factor. Temperature treatment has been made
factorial (Tempfact).
my code is as follows:
library(multcomp)
> PHA <- lme(DiffPHA48 ~ Tempfact, random= ~1|Hen, na.action=na.omit)
> summary(glht(PHA, linfct=mcp(Tempfact = "Tukey")))
Error in contrMat(table(mf[[nm]]), type = types[pm]) :
less than two groups
I am confused why it would work the first time and now everyother time it
comes up with this error. Can a...