Re: [R] Post Hoc Groupings

From: Jarrett Byrnes <jebyrnes_at_ucdavis.edu>
Date: Thu 27 Oct 2005 - 10:35:12 EST

Indeed, the following works as well
On Oct 26, 2005, at 5:23 PM, P Ehlers wrote:

> fm1 <- aov(breaks ~ wool*tension, data = warpbreaks)
> TukeyHSD(fm1, c("wool","tension", "wool:tension"))

However, when working with my own dataset, I get the following errors.   I have some inkling this may be due to a slightly unbalanced sample size, but am uncertain of this.

 > rich.aov <- aov(X.open ~ Dock*Slip, data=dock_2004_data)  > TukeyHSD(rich.aov, c("Dock", "Slip"))

Error in rep.int(n, length(means)) : unimplemented type 'NULL' in 'rep' In addition: Warning messages:
1: non-factors ignored: Slip in: replications(paste("~", xx), data = mf) 2: non-factors ignored: Dock, Slip in: replications(paste("~", xx), data = mf)

I am pleased to know that these errors are not quite the



R-help@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 Received on Thu Oct 27 10:36:39 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:47 EST