[R] R-squared for ANOVA model

David Winsemius dwinsemius at comcast.net
Tue Dec 8 02:54:31 CET 2009


On Dec 7, 2009, at 8:12 PM, ZeMajik wrote:

> Hey,
>
> In SAS after doing an ANOVA you also get the aptness of fit as R- 
> squared in
> the ANOVA table.
> I've tried getting the R-squared from R but have failed miserably.  
> I've
> tried searching google and the manual as well
>
> Is it possible to extract R-squared from ANOVA models in R?

Part of the help page for lm() suggests that you also look at:

?summmary.lm

-- 

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list