[R] HELP Tukey

2015-02-26 Thread CHIRIBOGA Xavier
Dear all , I am trying to do a Tukey comparison, but a message appears: tuk-glht(mod0,linfct=mcp(Soil=Tukey));summary(tuk) Error: could not find function glht Anyone knows how to fix it? Thanks a lot! Xavier __ R-help@r-project.org

Re: [R] HELP Tukey

2015-02-26 Thread Thierry Onkelinx
??glht would tell you that glht is a function from the multcomp package. You need to load a package before you can use its functions. library(multcomp) ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie Kwaliteitszorg / team