R exercise

Chapter 2 Exercise 9

Sign in to hand in your solution and get feedback.

Auto <- read.csv("Auto.csv", header=T, na.strings="?") Auto <- na.omit(Auto) class(Auto) range(Auto$mpg) sapply(Auto[, 1:7], range)