[R] Question in using e1071 svm routine
nathan.kupp
nathan.kupp at yale.edu
Tue Nov 9 20:18:08 CET 2010
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 inclusion of a factor variable in the x data frame passed
to the svm(x,y) call. I've mistakenly done this many times; the text of the
error message gives no indication that this is the source of the problem.
Removing the factor(s) from x will eliminate the error.
Nathan Kupp
Ph.D. Candidate
Department of Electrical Engineering
Yale University
--
View this message in context: http://r.789695.n4.nabble.com/Question-in-using-e1071-svm-routine-tp896541p3034950.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list