| @@ -124,7 +124,7 @@ ggplot(mpg, aes(displ, hwy)) + | ||||
|  | ||||
| Note another handy technique used here: I added a second layer of large, hollow points to highlight the points that I've labelled. | ||||
|  | ||||
| You can sometimes use the same idea to replace the legend with labels placed directly on the plot. It's not wonderful for this plot, but it isn't too bad. (`theme(legend.position = "none"`) turns the legend off --- we'll talk about it more shortly). | ||||
| You can sometimes use the same idea to replace the legend with labels placed directly on the plot. It's not wonderful for this plot, but it isn't too bad. (`theme(legend.position = "none"`) turns the legend off --- we'll talk about it more shortly.) | ||||
|  | ||||
| ```{r} | ||||
| class_avg <- mpg %>% | ||||
|   | ||||
		Reference in New Issue
	
	Block a user