Chapter 7 Charts and graphical output
R has a wide range of built in charts and graphics, and with packages such as ggplot, even more advanced plotting functions are available. In many cases, a crude but valid plot can be produced simply by supplying a matrix or vector directly to one of the plot functions.