[R] summary.lm
Roger D. Peng
rpeng at jhsph.edu
Sun May 30 21:00:30 CEST 2004
Is it possible you have a locally modified version of
summary.lm() lying around. Here are the first few lines of
summary.lm() in R 1.9.0:
> head(summary.lm)
1 function (object, correlation = FALSE, symbolic.cor = FALSE,
2 ...)
3 {
4 z <- object
5 p <- z$rank
6 if (p == 0) {
>
So I'm not sure were you're getting your version. What does
`getAnywhere(summary.lm)' give you?
-roger
Marc R. Feldesman wrote:
> I ran across this error the other day while using lm(). I confess that
> I haven't used it for awhile and haven't been tracking the changes
> between versions of R. However, the piece of code below is a tiny
> modification of the example in the help file for "lm". I just separated
> the commands apart for clarity. A similar piece comes from the help
> file for "summary.lm".
>
> Aside from simply typing >lm.D90 at the command line, is there no longer
> a working summary method for lm. I've looked at the code for summary.lm
> and its first two lines are:
>
> z <- .Alias(object)
> Qr <- .Alias(object$qr)
>
>
> >lm.D90 <- lm(weight ~ group )
> > summary(lm.D90)
> Error: '.Alias' is defunct.
> See ?Defunct.
>
> platform i386-pc-mingw32
> arch i386
> os mingw32
> system i386, mingw32
> status
> major 1
> minor 9.0
> year 2004
> month 04
> day 12
> language R
>
> I'd be perfectly happy to be straightened out here.
>
> Thanks.
>
>
>
> Dr. Marc R. Feldesman
> Professor and Chairman Emeritus
> Anthropology Department - Portland State University
> email: feldesmanm at pdx.edu
> email: feldesman at attglobal.net
> fax: 503-725-3905
>
>
> "Don't knock on my door if you don't know my Rottweiler's name" Warren
> Zevon
> "Its midnight and I'm not famous yet" Jimmy Buffett
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
More information about the R-help
mailing list