Re: [R] Post Hoc Groupings

2005-10-26 Thread Jarrett Byrnes
Indeed, that does it. Odd. I guess as Slip was a number, it needed to be categorized. Interesting... Not if only I can figure out how to get the TukeyHSD grouping table On Oct 26, 2005, at 7:35 PM, Mark Lyman wrote: > Looking at the errors your code produces, it looks like you need to >

Re: [R] Post Hoc Groupings

2005-10-26 Thread Mark Lyman
Looking at the errors your code produces, it looks like you need to make Dock and Slip factors. dock_2004_data$Dockf<-factor(dock_2004_data$Dock) dock_2004_data$Slipf<-factor(dock_2004_data$Slip) rich.aov <- aov(X.open ~ Dockf*Slipf, data=dock_2004_data) TukeyHSD(rich.aov, c("Dockf", "Slipf"))

Re: [R] Post Hoc Groupings

2005-10-26 Thread Jarrett Byrnes
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 d

Re: [R] Post Hoc Groupings

2005-10-26 Thread P Ehlers
Jarrett Byrnes wrote: > Quick question, as I attempt to learn R. For post-hoc tests > > 1) Is there an easy function that will take, say the results of > tukeyHSD and create a grouping table. e.g., if I have treatments 1, 2, > and 3, with 1 and 2 being statistically the same and 3 being diff

[R] Post Hoc Groupings

2005-10-26 Thread Jarrett Byrnes
Quick question, as I attempt to learn R. For post-hoc tests 1) Is there an easy function that will take, say the results of tukeyHSD and create a grouping table. e.g., if I have treatments 1, 2, and 3, with 1 and 2 being statistically the same and 3 being different from both Group Treatmen