Re: [R] Fisher's LSD multiple comparisons in a two-way ANOVA

2012-04-06 Thread Richard M. Heiberger
Interpreting contrasts for a two-way interaction in the presence of a significant three-way interaction is dangerous. They might not be interpretable. I would start by examining the interaction2wt plot (in the HH package) interaction2wt(activity ~ pH + I + f, data=yourdataframe) Look at the vul

Re: [R] Fisher's LSD multiple comparisons in a two-way ANOVA

2012-04-06 Thread Jinsong Zhao
On 2012-04-05 10:49, Richard M. Heiberger wrote: Here is your example. The table you displayed in gigawiz ignored the two-way factor structure and interpreted the data as a single factor with 6 levels. I created the interaction of a and b to get that behavior. ## your example, with data stored

Re: [R] Fisher's LSD multiple comparisons in a two-way ANOVA

2012-04-05 Thread Mendiburu, Felipe (CIP)
nal Message- From: r-help-boun...@r-project.org on behalf of Richard M. Heiberger Sent: Wed 4/4/2012 9:49 PM To: Jinsong Zhao Cc: r-help@R-project.org Subject: Re: [R] Fisher's LSD multiple comparisons in a two-way ANOVA Here is your example. The table you displayed in gigawiz ignored the two-way

Re: [R] Fisher's LSD multiple comparisons in a two-way ANOVA

2012-04-04 Thread Richard M. Heiberger
Here is your example. The table you displayed in gigawiz ignored the two-way factor structure and interpreted the data as a single factor with 6 levels. I created the interaction of a and b to get that behavior. ## your example, with data stored in a data.frame tmp <- data.frame(x=c(76, 84, 78,

Re: [R] Fisher's LSD multiple comparisons in a two-way ANOVA

2012-04-04 Thread Jinsong Zhao
On 2012-04-03 20:03, Rmh wrote: yes. See ?glht in the multcomp package, and the examples using glht in ?MMC in the HH package. Sent from my iPhone Thank you very much for the clues. However, I can't figure out how to construct the linfct in glht. I also tried to inverse the computation b

Re: [R] Fisher's LSD multiple comparisons in a two-way ANOVA

2012-04-03 Thread Rmh
yes. See ?glht in the multcomp package, and the examples using glht in ?MMC in the HH package. Sent from my iPhone On Apr 3, 2012, at 6:16, Jinsong Zhao wrote: > Hi there, > > Is there a function that can do a Fisher's LSD multiple comparisons in a > two-way ANOVA? I hope to get a result si

[R] Fisher's LSD multiple comparisons in a two-way ANOVA

2012-04-03 Thread Jinsong Zhao
Hi there, Is there a function that can do a Fisher's LSD multiple comparisons in a two-way ANOVA? I hope to get a result similar with TukeyHSD(). Especially, I hope to know the significance of comparisons between the interactions of two factors. In the following example: x <- c(76, 84, 78,