> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of David
> J. Netherway
> Sent: Monday, May 03, 2004 10:25 AM
> To: [EMAIL PROTECTED]
> Subject: [R] Setting up contrasts
>
>
> I am using the following model:
> lm &
I am using the following model:
lm <- lm(mydata[[variableName]] ~ Age + Gender + Group, data=mydata)
There are 5 groups in "Group": nonc (the control), c1,c2,c3 and c4.
How do I contrast nonc vs the others?
and
How do I contrast c1 vs other c's (ie c2,c3,c4 as a subgroup)?
I have looked at the