[R] ols Error : missing value where TRUE/FALSE needed

2007-03-14 Thread Charles Evans
I have installed Hmisc and Design. When I use ols, I get the following error message: Error in if (!length(fname) || !any(fname == zname)) { : missing value where TRUE/FALSE needed The model that I am running is: ecools - ols(eco$exp ~ eco$age + eco$own + eco$inc + inc2, x=TRUE) I

Re: [R] ols Error : missing value where TRUE/FALSE needed

2007-03-14 Thread Jason Barnhart
I think that inc2 should be eco$inc2 in your call. If not let me know and I will dig deeper. - Original Message - From: Charles Evans [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Sent: Wednesday, March 14, 2007 12:48 PM Subject: [R] ols Error : missing value where TRUE/FALSE needed

Re: [R] ols Error : missing value where TRUE/FALSE needed

2007-03-14 Thread Frank E Harrell Jr
Charles Evans wrote: I have installed Hmisc and Design. When I use ols, I get the following error message: Error in if (!length(fname) || !any(fname == zname)) { : missing value where TRUE/FALSE needed The model that I am running is: ecools - ols(eco$exp ~ eco$age + eco$own