Question: Question re importing csv data into R I created an excel file that contain one column of data and saved as a csv then I
Question re importing csv data into R
I created an excel file that contain one column of data and saved as a csv
then I used
m <- read.csv("myfile.csv')
the data is imported but when I do
hist(m) it says data is not numeric
however when I do
m<-m[,1]
then hist(m) works !
any idea why? How do I import a csv without having to perform m<-m[,1] ??
Thanks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
