[R] Error: could not find function "glht" (multcomp)

BORGULYA Gábor borgulya at gyer2.sote.hu
Tue Jun 5 00:25:28 CEST 2007


Dear List,

Could you tell why I get the error message?

> library(multcomp)
> data("cholesterol")
> m = aov(response ~ trt, data = cholesterol)
> cht <- glht(m, linfct = mcp(trt = "Tukey"))
Error: could not find function "glht"

Thank you

Gábor



More information about the R-help mailing list