[R] Contrast SS

Ista Zahn izahn at psych.rochester.edu
Fri Nov 28 18:38:24 CET 2008


Thank you!

> m.1 <- aov(y ~ x)
> summary(m.1, split = list(x = list("groups 1 and 2 vs group 3" = 1, "group 1 vs group 2" = 2)))

does what I want.

On Fri, Nov 28, 2008 at 12:02 PM, Richard M. Heiberger <rmh at temple.edu> wrote:
> I believe you are looking for the summary.lm() function and its split=
> argument.
> Look at
>  example(summary.aov)
> for several examples.
>
>
>



More information about the R-help mailing list