[R] Two Way ANOVA

Peter Alspach PAlspach at hortresearch.co.nz
Fri Feb 29 04:50:15 CET 2008


Keith

Try names(sumpcf) or str(sumpcf).  That should help you find what you
want.

Incidentally, simply summary(pcf.aov) will do - R uses the appropriate
method based on the type of object.

HTH ....

Peter Alspach


> -----Original Message-----
> From: r-help-bounces at r-project.org 
> [mailto:r-help-bounces at r-project.org] On Behalf Of Keith Jones
> Sent: Friday, 29 February 2008 3:46 p.m.
> To: r-help at r-project.org
> Subject: [R] Two Way ANOVA
> 
> Hi,
> 
> I am using the:
> 
> pcf.aov<-aov(meas~op+part, data=pcf.ex2),
> 
> command to perform a two way ANOVA.  When I save the:
> 
> sumpcf<- summary.aov(pcf.aov),
> 
> result of the summary.aov command in a variable I need to 
> access the individual pieces of information in the summary.  
> The summary appears to be a list and I am having a hard time 
> finding a way to get at the information in the summary.  
> Could some one tell me how to go about it.
> 
> Thanks,
> 
> Keith Jones
> 
> ______________________________________________
> R-help at 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.
> 

The contents of this e-mail are privileged and/or confidential to the named
 recipient and are not to be used by any other person and/or organisation.
 If you have received this e-mail in error, please notify the sender and delete
 all material pertaining to this e-mail.



More information about the R-help mailing list