[R] multiple comparison (glht) problem

Anqi Qiu anqi at cis.jhu.edu
Wed Nov 21 13:28:19 CET 2007


I am not sure whether there is a bug. When I tested the example given for "glht"
in the help, I entered the following error:

Running commands:

amod <- aov(minutes ~ blanket, data = recovery)
rht <- glht(amod, linfct = mcp(blanket = "Dunnett"),
              alternative = "less")

Errors are:

Error in try(coef.(model)) : could not find function "coef."

Error in modelparm.default(model, ...) : no 'coef' method for 'model'
found!



Thanks!





Regards,

Anqi Qiu




Anqi Qiu
Center for Imaging Science
Johns Hopkins University
Email: anqi at cis.jhu.edu
tel: 410-516-8103

Anqi Qiu
Center for Imaging Science
Johns Hopkins University
Email: anqi at cis.jhu.edu
tel: 410-516-8103



More information about the R-help mailing list