Dear Sir,
I am working with SVM recently, facing a problem which is given below. If you able to solve the problem, please send me the code. Thank you very much. >library(e1071) >library(openxlsx) > List<- read.xlsx(file.choose(), sheet = 1, colNames=TRUE,rowNames = TRUE) > Data<- read.xlsx(file.choose(), sheet=1,colNames = TRUE,rowNames = TRUE) > status<-Data[1, ] > FData <-Data[rownames(List), ] > TFData <- t(FData) > Tstatus <- t(status) > x<-TFData > y<-Tstatus > model <- svm( x, y) Error in colMeans(x, na.rm = TRUE) : 'x' must be numeric With regards Pijush ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.