Displaying 1 result from an estimated 1 matches for "pamdata".
2010 Dec 02
5
Tukey Test, lme, error: less than two groups
...e, that there are " less than two groups"
summary(glht(PAM.lme, linfct = mcp(Provenancef = "Tukey")))
Fehler in contrMat(table(mf[[nm]]), type = types[pm]) :
less than two groups
I guess its important to know that I made factors out of some of the data.
Here is the code:
PAMdata$provenance[PAMdata$provenance == "5"] = "ES"
PAMdata$provenance[PAMdata$provenance == "6"] = "HU"
# etc.
Treatmentf <- factor(PAMdata$treatment, levels=c("C","F"))
Datef <- factor(PAMdata$Date, levels=c( "25.05.10 14:00",...