Details: Post-hocs
Post Hocs
Post-hocs tests are performed as implemented in the emmeans package. In particular, the actual implementation is as follows (for any given model term selected by the user) :
formula <- as.formula(paste('~', term))
referenceGrid <- emmeans::emmeans(private$.model, formula)
bonferroni <- summary(pairs(referenceGrid, adjust='bonferroni'))
holm <- summary(pairs(referenceGrid, adjust='holm'))
tukey<-summary(pairs(referenceGrid, adjust='tukey'))
scheffe<-summary(pairs(referenceGrid, adjust='scheffe'))
sidak<-summary(pairs(referenceGrid, adjust='sidak'))