Displaying 1 result from an estimated 1 matches for "tempfact".
Did you mean:
tempdict
2011 Sep 28
0
Trouble with performing post hoc analysis Tukey for lme model using ghlt
...ave tried to do this again, it keeps coming up with
the error:
(Error in 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...