Problem: Error in mcp2matrix(model, linfct = linfct)
Post hoc test is not working. Does anyone know what I did wrong?
modmisto<-lme(Cobertura~Tratamento, random=~1|Parcela, data=Cover_BraquiT3)
summary(modmisto)
tukey<-glht(modmisto, mcp(Tratamento="Tukey")) Error in mcp2matrix(model,
linfct = linfct) : Variable(s) ‘Tratamento’ of class ‘character’ is/are not
contained as a factor in ‘model’.
Some translations if necessary: cobertura=cover, tratamento=treatment,
parcela=plot
I have 4 treatments being tested.
Any help with this will be very appreciated!
Thank you
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.