[R] model constant relations
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Nov 11 08:27:10 CET 2003
On Mon, 10 Nov 2003, Spencer Graves wrote:
> Thanks very much: I typed "?summary.fit" when I meant to type
> "?summary.lm", which explains why I didn't find the "cor" argument.
> Thanks also for the reference to "?vcov". I didn't see that in the "see
> also" section for either "lm" or "summary" or "summary.lm". Might it be
> worth added?
It's just one of a whole bunch of generic extractors, which are usually
not mentioned. It was lifted from MASS, and is documented there.
> >> In S-Plus, this is automatically produced by summary(lm(...)).
> >>There is probably a simple, elegant way to get this in R, but I don't
> >>know it. Therefore, I produced it as follows:
> >summary(fit, cor=TRUE) : the default is different between R and S
> >See also ?vcov.
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
More information about the R-help