Re: [R] how to get the sample size in lm

2007-10-11 Thread Rolf Turner
On 12/10/2007, at 7:41 AM, Jiong Zhang, PhD wrote: > Hi All, > > How do I get the sample size in lm? I know it is not reported by > "summary". Variety of ways. One such is length(resid()). cheers, Rolf Turner

Re: [R] how to get the sample size in lm

2007-10-11 Thread Marc Schwartz
On Thu, 2007-10-11 at 11:41 -0700, Jiong Zhang, PhD wrote: > Hi All, > > How do I get the sample size in lm? I know it is not reported by "summary". > > Thanks. > > jiong You need to be careful to understand the difference between the sample size in the original data frame and the actual sample

[R] how to get the sample size in lm

2007-10-11 Thread Jiong Zhang, PhD
Hi All, How do I get the sample size in lm? I know it is not reported by "summary". Thanks. jiong The email message (and any attachments) is for the sole...{{dropped:11}} __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-he