Date: Thu, 22 Apr 1999 22:30:42 -0400
From: andy bernat <becker_bernat@csi.com>
To: r-help <r-help@stat.math.ethz.ch>
Subject: [R] basic question about lm summaries
I'm very new to R and I'm having trouble doing something that should be
very simple (so I'm probably missing something quite obvious). When I
run
> lm(data$CRIME~data$INCOME+data$HOUSING)
I get the correct coefficients. However, when I try to get anything
else out of this I get a message about a missing argument, e.g.:
> summary.lm(lm.d1<-lm(data$CRIME~data$INCOME+data$HOUSING))
Error: Argument "n" is missing, with no default
None of the documentation mentions this argument "n", though I notice
that there is a variable "n" in the function definition. My apologies
if this seems like too basic a question but any assistance is greatly
appreciated.
Regards,
Andy Bernat
P.S. I'm using the rw0640 binaries for windows 95.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._