I'm trying to evaluate some data for my thesis. I can use R to build a boxplot and conduct the statistical test just fine, and I can do the compact letter display manually... but this time I simply have too much data to do it this way. I'm plotting the distance travelled by different species against each other. I did find some manuals online telling me to use the cldList-function, like so:
PT = Data$res
PT
library(rcompanion)
cldList(P.adj ~ Comparison,
Data = PT,
threshold = 0.05)
But it seems the resulting table isn't right: [1] Group Letter MonoLetter <0 Zeilen> (oder row.names mit Länge 0)
Obviously, I need the data grouped by species, but I thought I had already clarified this when conducting the Kruskal-Wallis-Test. I'm fairly inexperienced with R, or programming in general, so I have no idea where the error is here. I'd apprechiate any help.