Dear Patrick, > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Patrick B é dard > Sent: January-30-09 6:31 PM > To: r-help@r-project.org > Subject: [R] Ancova > > Hello, > > I have the following ancova: > my_ancova = aov(x~a+b) > > How do I obtain the means of b once the covariate a has been removed?
One way is to use the function effect() in the effects package: effect("b", my_ancova) which will give you the adjusted means for x at the levels of b with a set to its overall mean. I hope this helps, John > > thanks > > __________________ > Patrick Bidard Ph.D. > Dept. of Neuroscience > Brown University > > > > [[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.