Dear Sir,

I am facing an error when I am trying to use svm and found similar kind of
problem faced by other. But I unable to solve the problem. The problem is
given below.

> rm(list=ls(all=TRUE))
> CombinedGeneList <- read.xlsx(file.choose(), sheet = 1, colNames =
TRUE,rowNames = TRUE)
> NoemalisedData <- read.xlsx(file.choose(), sheet=1,colNames =
TRUE,rowNames = TRUE)
> status<-NoemalisedData[1, ]
> FilterData <-NoemalisedData[rownames(CombinedGeneList), ]
> TFilterData <- t(FilterData)
> Tstatus <- t(status)
> x<-TFilterData
> y<-Tstatus
> model <- svm( x, y)
Error in colMeans(x, na.rm = TRUE) : 'x' must be numeric
>



Please solve the problem. I have tried it in many ways.
Waiting for your reply.
Thank you



With regards
Pijush

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to