[R] TukeyHSD no longer working with aov output?

Ista Zahn istazahn at gmail.com
Tue Oct 20 22:33:24 CEST 2009


Hi Clayton,
I don't think you need summary().

TukeyHSD(data1.aov)

should work.

-Ista

On Tue, Oct 20, 2009 at 4:17 PM, Clayton Coffman
<clayton.coffman at gmail.com> wrote:
> I can prove I've done this before, but I recently installed Rexcel (and it
> was easiest to reinstall R and some other bits to make it work) and now its
> no longer working.
>
> Before I would do an ANOVA and a tukey post-hoc like this:
>
>>data1.aov=aov(result~factor1*factor2, data=data1)
>
> then...
>
>>TukeyHSD(summary(data1.aov))
>
> and it would give me a nice tukey table of all the pairwise comparisons, now
> though it gives me:
>
>>in UseMethod("TukeyHSD") : no applicable method for "TukeyHSD"
>
> Has something changed?  Does TukeyHSD no longer accept aov results?
>
> Is there a package I'm missing?  I am very frustrated.
>
> Thanks,
> Clayton
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>



-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org




More information about the R-help mailing list