[R] extraction of p-value

Petr Pikal petr.pikal at precheza.cz
Fri Oct 29 13:20:14 CEST 2004


Hi

str(summary(fit)) will give you a whole picture how summary 
output list is structured.

summary(fit)[n] 

where n is an appropriate number will extract parts of a list. Just 
try and choose the one you need. Maybe n=4?

Cheers
Petr


On 29 Oct 2004 at 11:50, Luis Rideau Cruz wrote:

> R-help,
> 
> I wish to get the p-values of anova model as numeric and not as part
> of the standard output (print,summary,,,)
> 
> I have tried several commands but to not vail
> 
> Thank you
> 
> ______________________________________________
> 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

Petr Pikal
petr.pikal at precheza.cz




More information about the R-help mailing list