Re: [R] Planned comparison ANOVA

2011-09-19 Thread Greg Snow
ean( y[g==3] ) - mean(y[g!=3]) # change this if unbalanced [1] 0.2460775 > Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounce

[R] Planned comparison ANOVA

2011-09-17 Thread robcinm
I am trying to do a priori ANOVA analysis for a class assignment. The professor uses SPSS and does not know R. I want to do a simple planned comparison but have been unable to find a function or specific help. There is a grouping variable with five levels and a subsequent response variable. I also