I'm doing a three-way ANOVA and I want to do a post-hoc analysis on it.
To make a comparison by groups, I saw that function emmeans_test from the package emmeans was the best option. But when I run my code, R doesn't find emmeans_test. I don't understand why. I have installed emmeans and done library(emmeans) already.
library(emmeans)
donnees_tot_g_J4 %>%
group_by(quality, temperature) %>%
emmeans_test(growth_rate ~ quantity, p.adjust.method = "bonferroni")
Error in emmeans_test(., growth_rate ~ quantity, p.adjust.method = "bonferroni"):
could not find function "emmeans_test"