Practice: ggplot
Completion requirements
In this exercise, you can practice the implementation of ggplot and compare it to the base-R graphics. This exercise does not count toward your grade. It is just for practice!
Exercise:
- Load the package ggplot2.
- Create a plot for the data
carssimilar to the one you obtained using the plot function in the previous exercise. - Use the jpeg() driver and
dev.off()to save the plot on your computer.
Last modified: Friday, 13 January 2023, 8:24 AM