The ggplot2 package in R provides a simpler way to create graphics than generating graphics with plot() and the ancillary functions of plot(). The default plots generated by the functions in ggplot2 also have a more sophisticated appearance than those plotted by default when using plot(). Also, some tasks that in plot() require several steps are easily coded by the functions available in the ggplot2 package.
The two functions in ggplot2 that initiate plotting are qplot() and ggplot(). The function qplot() is the ggplot2 version of plot(). The function ...