We give examples about the omd parameter for adjusting where a plot is displayed in the plotting window:

R code or the video about these graphics

We also list some of the other parameters for plotting regions, as a reference to the many customizations that are possible.

It is worthwhile to see page 75 of the book R Graphics, by Paul Murrell, for a visual understanding of the remainder of these parameters, if you want some fine tuning to your graphs.

We can put multiple plots onto a plotting region using the mfrow and mfcol parameters:

R code or the video about multiple plots using mfrow and mfcol

We can also put multiple plots onto a plotting region using the layout scheme:

R code or the video about multiple plots using layout

This week, we will look at the classical paper:

We will also consider the advice given in the text:

Creating More Effective Graphs by Naomi B. Robbins (Wiley-Interscience, 2005)

We discuss a handful of the different kinds of plots that we can make in R, with examples. At the end of this module, we give an example of how to send the output from plots to a pdf file:

R code (and an pdf example from the end of the discussion), or the video about several kinds of plots we can make in R

Matrices are a lot like data frames. We have three different modules to show you the similarities and differences:

R code or the first video about matrices

R code or the second video about matrices

R code or the third video about matrices

Arrays are like vectors and data frames but can describe data in several dimensions:

R code or the video about arrays

We give a little more discussion about data frames, although we have covered this topic a lot already:

R code or the video about data frames

Lists are like data frames (each "column" can store different types of data), but the columns can have different lengths:

R code or the video about lists

One more video about plotting examples in R:

R code or the video about lists