Re: [R] Question in using e1071 svm routine

2010-11-09 Thread Joshua Wiley
On Tue, Nov 9, 2010 at 11:18 AM, nathan.kupp wrote: > > R, by default, has some of the most cryptic error / debug messages ever > invented. I nominate the html 404 error for that. > The error message encountered by the two posters: > > Error in if (any(co)) { : missing value where TRUE/FALSE nee

Re: [R] Question in using e1071 svm routine

2010-11-09 Thread David Winsemius
On Nov 9, 2010, at 2:18 PM, nathan.kupp wrote: R, by default, has some of the most cryptic error / debug messages ever invented. The error message encountered by the two posters: Error in if (any(co)) { : missing value where TRUE/FALSE needed In addition: Warning message: In FUN(newX[, i],

Re: [R] Question in using e1071 svm routine

2010-11-09 Thread nathan.kupp
R, by default, has some of the most cryptic error / debug messages ever invented. The error message encountered by the two posters: Error in if (any(co)) { : missing value where TRUE/FALSE needed In addition: Warning message: In FUN(newX[, i], ...) : NAs introduced by coercion results from the i

Re: [R] Question in using e1071 svm routine

2009-11-25 Thread David Winsemius
On Nov 25, 2009, at 7:54 PM, akal wrote: Hi all, I am encountering the same error "Error in if (any(co)) { : missing value where TRUE/FALSE needed" when i run:model <- svm(databctrain, classesbctrain) I am not sure what this error means . is it some problem with the dataset ? How do y

Re: [R] Question in using e1071 svm routine

2009-11-25 Thread akal
Hi all, I am encountering the same error "Error in if (any(co)) { : missing value where TRUE/FALSE needed" when i run:model <- svm(databctrain, classesbctrain) I am not sure what this error means . is it some problem with the dataset ? Could i get some help ? Thanks, Akshatha losemind wrot

Re: [R] Question in using e1071 svm routine

2009-07-07 Thread Steve Lianoglou
Hi, On Jul 7, 2009, at 8:37 PM, Stavros Macrakis wrote: Isn't the initial value of the variable T equal to the constant TRUE? So unless he's modified the value of T, shouldn't it work? Yes, it should. Perhaps we should be looking at your data: model <- svm(y=factor(mytraindata[, 1]), x=myt

Re: [R] Question in using e1071 svm routine

2009-07-07 Thread Stavros Macrakis
Isn't the initial value of the variable T equal to the constant TRUE? So unless he's modified the value of T, shouldn't it work? -s On 7/7/09, Max Kuhn wrote: > Unlike Splus, R does not use T for TRUE. > > On Tue, Jul 7, 2009 at 6:05 PM, Michael wrote: >> Hi all, >> >> I've got the fo

Re: [R] Question in using e1071 svm routine

2009-07-07 Thread Max Kuhn
Unlike Splus, R does not use T for TRUE. On Tue, Jul 7, 2009 at 6:05 PM, Michael wrote: > Hi all, > > I've got the following error message in using e1071 svm routine... > > Could anybody please help me? > > Thank you! > > - > model <- svm(y=factor(mytraindata[, 1]),

[R] Question in using e1071 svm routine

2009-07-07 Thread Michael
Hi all, I've got the following error message in using e1071 svm routine... Could anybody please help me? Thank you! - model <- svm(y=factor(mytraindata[, 1]), x=mytraindata[, -1], probability=T) Error in if (any(co)) { : missing value where TRUE/FALSE needed In a