[R] ANCOVA

Ramon Diaz-Uriarte rdiaz02 at gmail.com
Sat Jan 6 20:35:22 CET 2007


On 1/6/07, Michael Kubovy <kubovy at virginia.edu> wrote:
> On Jan 6, 2007, at 8:34 AM, John Cardinale wrote:
>
> > Are there any R function which can do analysis of covariance?
>
> ?lm
> RSiteSearch('ancova')



Given the question, you'll probably need to find "how to do an ancova
with lm". Several documents in
http://cran.r-project.org/other-docs.html will show you how (and why
ancova is just one special case of linear model). In particular, I
think Faraway's "Practical regression and Anova using R" has explicit
chapters/sections for Ancova. Many of other standard texts on R/S do
too.

R.






> _____________________________
> Professor Michael Kubovy
> University of Virginia
> Department of Psychology
> USPS:     P.O.Box 400400    Charlottesville, VA 22904-4400
> Parcels:    Room 102        Gilmer Hall
>          McCormick Road    Charlottesville, VA 22903
> Office:    B011    +1-434-982-4729
> Lab:        B019    +1-434-982-4751
> Fax:        +1-434-982-4766
> WWW:    http://www.people.virginia.edu/~mk9y/
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>


-- 
Ramon Diaz-Uriarte
Statistical Computing Team
Structural Biology and Biocomputing Programme
Spanish National Cancer Centre (CNIO)
http://ligarto.org/rdiaz



More information about the R-help mailing list