[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

Re: [R] OLS error

2004-11-12 Thread Roger Bivand
On Thu, 11 Nov 2004, DrakeGis wrote: Thanks for the help. -I'm really sorry, but I'm affraid I can't publish any data in order to allow a reproduction of the results (enterprise policies :( ). The author of the Design package has already replied to this point. If the function only fails with

[R] OLS error

2004-11-11 Thread DrakeGis
Hi, I have 142 observations off different variables and I'm trying to do a OLS. And I get this error. Any Ideas ? f - ols(lnmigr3~popden78+income+modern+spareha+rain) Error in La.chol2inv(x, size) : size cannot exceed nrow(x) = 1 D. - Stay ahead of

Re: [R] OLS error

2004-11-11 Thread Roger Bivand
On Thu, 11 Nov 2004, DrakeGis wrote: Hi, I have 142 observations off different variables and I'm trying to do a OLS. And I get this error. Any Ideas ? Well, the posting guide does suggest that precision in the question should help. The function you are using called ols() seems to be from a

Re: [R] OLS error

2004-11-11 Thread DrakeGis
Thanks for the help. -I'm really sorry, but I'm affraid I can't publish any data in order to allow a reproduction of the results (enterprise policies :( ). -I'm using ols() from Design (Is there another ?) -Does version of R influence on the behavior of the packages ? I didn't know, I'm using

Re: [R] OLS error

2004-11-11 Thread Frank E Harrell Jr
DrakeGis wrote: Thanks for the help. -I'm really sorry, but I'm affraid I can't publish any data in order to allow a reproduction of the results (enterprise policies :( ). That is silly. You can surely simulate data that provides an example of the problem you are having. Frank Harrell