How to get the significant differences with "cld" function?

647 Views Asked by At
library(dplyr)
 library(tidyr)
 library(ggpmisc)
 library(jmv)
 library(Rmisc)
 library(emmeans) 
 library(multcomp)
 library(Hmisc)
 library(lattice)
 library(multcompView)
 library(agricolae)
                
     
                                
 names(data)
 data$pH 
 data$Fs<- as.factor(data$Fs)
 data$Treatments<-as.factor(data$Treatments)
 data$Pot_Inc<-as.factor(data$Pot_Inc)
                       
           
 m1 <- aov(pH ~ Fs * Treatments * Pot_Inc, data=data)
 summary(m1)
       
l1 <- emmeans(m1, list(pairwise ~ Treatments*Pot_Inc | Fs), adjust =c("tukey"))
cld(l1, Letters=letters, alpha=0.05, reversed=T)

I am trying to run the cld function to show the the significant differences. But at the end this shows: Error in UseMethod("cld") : no applicable method for 'cld' applied to an object of class "c('emm_list', 'list')". I would be very grateful, If somebody can help me

0

There are 0 best solutions below