[R] Error message when running lm() with na.action=NULL

2007-07-31 Thread Garavito,Fabian
Hi there, I am trying to run a liner regression using lm with na.action = NULL, but I am getting an error message. Any ideas as to why this may be happening? Please see code and error message below: reg_test-lm(yy~.,data=test,na.action=NULL) Error in lm.fit(x, y, offset = offset, singular.ok =

Re: [R] Error message when running lm() with na.action=NULL

2007-07-31 Thread Garavito,Fabian
- From: Patrick Burns [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 12:55 PM To: Garavito,Fabian Subject: Re: [R] Error message when running lm() with na.action=NULL Garavito,Fabian wrote: I was trying to get a vector of residuals where NA would be assigned to the lm residual vector