In this lesson, we see how to use qplot to create a simple scatterplot.
The qplot (quick plot) system is a subset of the ggplot2 (grammar of graphics) package which you can use to create nice graphs. It is great for creating graphs of categorical data, because you can map symbol colour, size and shape to the levels of your categorical variable. To use qplot first install ggplot2 as follows:
[Read more…] about Doing Scatterplots in R