On 2010-12-13 07:29, PGZC wrote:

  TukeyHSD(fit)
Error in UseMethod("TukeyHSD") :
   no applicable method for 'TukeyHSD' applied to an object of class "lm"
TukeyHSD(anova)
Error in UseMethod("TukeyHSD") :
   no applicable method for 'TukeyHSD' applied to an object of class
"function"
TukeyHSD(group)
Error in UseMethod("TukeyHSD") :
   no applicable method for 'TukeyHSD' applied to an object of class
"c('integer', 'numeric')"
TukeyHSD(y)
Error in UseMethod("TukeyHSD") :
   no applicable method for 'TukeyHSD' applied to an object of class
"c('double', 'numeric')"
TukeyHSD(data)
Error in UseMethod("TukeyHSD") :
   no applicable method for 'TukeyHSD' applied to an object of class
"data.frame"
TukeyHSD(summary)
Error in UseMethod("TukeyHSD") :
   no applicable method for 'TukeyHSD' applied to an object of class
"function"

Okay, the basic problem appears to be that
you know nothing about how to use R. Rather
than take a scattergun approach and throw
anything you can think of at the poor TukeyHSD
function, why not take the time to work your
way through 'An Introduction to R'? Or one
of the many intro documents found on the web.

(Normally, I would advise a careful reading
of the help page and liberal use of the str()
function, but it seems that your needs are more
basic.)

Peter Ehlers

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to