Cars_data<-read.csv("cars_data.csv")
What is the average mpg of all cars?
mean(Cars_data$mpg)
## [1] 20.09062
What is the minimum mpg for all cars?
min(Cars_data$mpg)
## [1] 10.4
What is the max mpg for all cars?
max(Cars_data$mpg)
## [1] 33.9
How many cars are the data set?
length (Cars_data$mpg)
## [1] 32