Summary
In this chapter, you encountered ggplot
for the first time. You learned how to set up your variables for plotting and how to control symbol type, color, size, and shape. You learned how to create bar charts, histograms, and boxplots using ggplot
. You also learned about a range of methods for customizing lines, point labels and smoothers. These methods should enable you to create a wide range of graphs that are suitable for publication. Perhaps you found that ggplot
is more difficult to master than qplot
. However, you should also have found that ggplot
offers great scope for creating high-quality graphs.