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

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[,

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 nathan.k...@yale.edu 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

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 wrote:

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 you

[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

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, Michaelcomtech@gmail.com wrote: Hi all, I've got the following error message in using e1071 svm routine... Could anybody please help me? Thank you! - model -

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 mxk...@gmail.com wrote: Unlike Splus, R does not use T for TRUE. On Tue, Jul 7, 2009 at 6:05 PM, Michaelcomtech@gmail.com

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]),