Re: [R] How to extract numbers from ANOVA tables?

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Sat, 8 Dec 2007 10:10:33 +0000 (GMT)

On Sat, 8 Dec 2007, Brinkmann, Lars wrote:

> I need to extract numbers (eg. estimates, standard errors etc.)
> summarized in an ANOVA table or summary() table for further
> calculations. Can somebody help me or refer me to the needed resource on
> the web?

The Value section of the relevant help page tells you how the values are stored. If you need more details, reading the appropriate print() method will show you where the printed numbers come from (and occasionally they are computed in the print method).

For e.g. lm or glm fits coeF(summary(fit)) will extract the coefficients matrix.

Had you given an example of what you wanted to extract we could have given you an example of how to do it.

>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.

PLEASE do!

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
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.
Received on Sat 08 Dec 2007 - 10:18:05 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 08 Dec 2007 - 10:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.