Skip to content
Prev 59977 / 398502 Next

Modifications to an abline

Doran, Harold wrote:
One approach is to use abline to put the dashed line on the plot then 
use segments to add the line covering the observed range with lty = 1.
You will need to calculate the end points of the solid line but those 
are just the values of the fitted line at the minimum and maximum 
observed grade levels.