4.2. PLOTTING 63 45 40 35 30 25 20 15 However, more often we will use boxplots to compare a numerical variable for different values of a categorical variable. boxplot(hwy ~ drv, data = mpg) 45 40 35 30 hwy 25 20 15 4 f r drv