Cld function in multcomp package

Hi everybody!
It's my first post on the blog.
I recently updated R to version 4.0.1 and, when computing an ANOVA post-hoc with Tukey, I ran into an error message. Being more specific, I use the cld function of multcomp package and, even if the package is correctly installed, the function does not work:

#TUKEY
cld(means, Letters = letters, reversed = T, adjust = "TUKEY")
Error in cld(means, Letters = letters, reversed = T, adjust = "TUKEY") :
could not find function "cld"

I specify that I am using the same code I was using with the previous version of R (3.4.2), which was working correctly in this release.
Can anybody help me?

Thank you very much!

Did you use

library(multicomp) 

before using the cld function

Now it seems working!
Many thanks!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.