ANCOVA usually is used when you have a numerical covariate that you want to adjust for, your description does not include any, so a regular anova (aov function) can be used. If you do have 1 or more covariates to adjust for, then it can be thought of as a regression problem (ANCOVA is a special case of linear models/regression) and you can fit it using either the aov or lm function.
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] 801.408.8111 > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of Samuel Okoye > Sent: Tuesday, December 09, 2008 2:03 AM > To: [EMAIL PROTECTED] > Subject: [R] ANCOVA > > > Hello, > > Could you please help me in the following question: > I have 16 persons 6 take 0.5 mg, 6 take 0.75 mg and 4 take placebo! Can > I use the ANCOVA and t-test in this case? Is it possible in R? > > Thank you in advance, > Samuel > > > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.