Question #2: Regarding the fuel type variable, the value “d” represents diesel, “p” represents premium (petrol) and “r” represents regular (petrol). Do you think there is an effect of fuel type on how many miles a vehicle can run on average per gallon of fuel?

ggplot(data = mpg) +
  geom_boxplot(mapping = aes(x= fl, y= hwy))

ggplot(data = mpg) +
  geom_boxplot(mapping = aes(x= fl, y= cty))