[R-lang] Odd summary(aov()) result
James S. Adelman
J.S.Adelman at warwick.ac.uk
Mon May 14 11:10:45 PDT 2007
On Mon, May 14, 2007 at 10:19:22AM -0700, Adam Baker wrote:
> I wonder if somebody could comment on why I get different summaries
> with these two commands, which differ only in the order of the
> variables.
>
> summary(aov(MidAvg ~ Ccon*Rpres + Error(Subject/Ccon*Rpres),data=nr))
> summary(aov(MidAvg ~ Rpres*Ccon + Error(Subject/Ccon*Rpres),data=nr))
I think:
summary(aov(MidAvg ~ Ccon*Rpres + Error(Subject/(Ccon*Rpres)),data=nr))
would be the analysis you were looking for?
--
James S. Adelman,
Department of Psychology,
University of Warwick,
COVENTRY, () ascii ribbon campaign - against html e-mail
CV4 7AL. /\ www.asciiribbon.org - against proprietary attachments
More information about the R-lang
mailing list