Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started