April 2018
Beginner
238 pages
7h 13m
English
We are using the same iris dataset as in the previous example.
We have seen how plot can produce a Scatter plot. The addition by abline is to calculate and draw out the regression line on top of the Scatter plot.
The regression does not appear to be a great fit as there are big chunks of data points far away from the line.