Question: PROBLEM 3 Run library(ggplot2) and data(mpg) before answering questions below. How many rows are in mpg? How many columns? What does the drv variable describe?
PROBLEM 3
Run library(ggplot2) and data(mpg) before answering questions below.
- How many rows are in mpg? How many columns?
- What does the drv variable describe? Read the help for ?mpg to find out.
- Make a scatterplot of hwy versus cyl. Comment on the outcome.
- What happens if you make a scatterplot of class versus drv? Why is the plot not useful?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
