[R] how to get the sample size in lm

Rolf Turner r.turner at auckland.ac.nz
Thu Oct 11 22:38:47 CEST 2007


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(<fitted.model>)).

		cheers,

			Rolf Turner


######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}



More information about the R-help mailing list