[R] Error in mcp2matrix(model, linfct = linfct)
karen.castillioni at gmail.com
Wed Feb 1 03:29:39 CET 2017
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!
[[alternative HTML version deleted]]
More information about the R-help