12.2 Calculating Values

If you plan on graphing data using mean values (i.e., each data point represents an averaged value, not an individual’s value), you will have to calculate it before you start graphing with ggplot(). If you are able to use previous examples to do this, that’s great! However, it is more likely that you will need additional restructuring.