TukeyHSD comparison

The Tuckey HSD test is a post-hoc test: it can only be used after another test (typically, ANOVA). This is why the first argument should be a fitted model object, typically created from aov().

From this error, it looks like pois.log is a vector, not a model (i.e. not the result of a fitting function).

1 Like