import - importing data into r that can not be as numeric -
i use both read.csv , read.table importing data following, it`s not numeric.can me whats problem?
x<-read.csv("d:\\r-files\\mydata1.csv",header=true,dec = ".") > is.numeric(x) [1] false
or
x<-read.csv("d:\\r-files\\mydata1.txt",header=true,dec = ".") > is.numeric(x) [1] false>
x <- read.csv(file="d:\\r-files\\mydata1.csv", header=true, sep=",", dec = ".", stringsasfactors = false) x <- as.matrix(x)
hopefully solve query.
Comments
Post a Comment