Why do I see this error?

> library(stats)
> require(stats)
[1] TRUE
>
> tHSD <- TukeyHSD(aov)
Error in TukeyHSD(aov) : no applicable method for "TukeyHSD"


In case it helps:


> aov

Call:
aov(formula = roi ~ (Cue * Hemisphere) + Error(Subject/(Cue *
    Hemisphere)), data = roiDataframe)

Grand Mean: 8.195069

Stratum 1: Subject

Terms:
                Residuals
Sum of Squares   645.7444
Deg. of Freedom         7

Residual standard error: 9.604645

Stratum 2: Subject:Cue

Terms:
                     Cue Residuals
Sum of Squares  0.386987  4.015740
Deg. of Freedom        1         7

Residual standard error: 0.7574148
1 out of 2 effects not estimable
Estimated effects are balanced

Stratum 3: Subject:Hemisphere

Terms:
                Hemisphere Residuals
Sum of Squares    153.4860  827.6699
Deg. of Freedom          1         7

Residual standard error: 10.87376
1 out of 2 effects not estimable
Estimated effects are balanced

Stratum 4: Subject:Cue:Hemisphere

Terms:
                Cue:Hemisphere Residuals
Sum of Squares        5.085930  4.279707
Deg. of Freedom              1         7

Residual standard error: 0.7819122
Estimated effects are balanced
>

	[[alternative HTML version deleted]]


