16.3 - Plotting Errorbars and Preparing to Add Lines
16.3 - Plotting Errorbars and Preparing to Add LinesHere we're putting toghether what we've learned so far in this chapter by adding errorbars for groups of data points to our plot with custom axes. We'll also prepare to add the regression lines, but using lines()
rather than abline()
so as to confine our lines to the range of the predictor variable.