[R] basic question about lm summaries

andy bernat becker_bernat at csi.com
Fri Apr 23 04:30:42 CEST 1999

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
> 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
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 at stat.math.ethz.ch

More information about the R-help mailing list