An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20060208/c5027e39/attachment.pl
ERROR: no applicable method for "TukeyHSD"
2 messages · Darren Weber, Brian Ripley
On Wed, 8 Feb 2006, Darren Weber wrote:
Why do I see this error?
Because there _is_ no applicable method. Please don't name objects after R functions, but in your case you need to do class(aov) ?TukeyHSD ?aov and see what TukeyHSD says it handles and what aov says it returns. This question has been answered at length on this list quite recently, so please also search the archives.
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]]
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595