plot a straight line on graph r code example
Example: abline in r
abline(a=NULL, b=NULL, h=NULL, v=NULL)
# a, b : single values specifying the intercept and the slope of the line
# h : the y-value(s) for horizontal line(s)
# v : the x-value(s) for vertical line(s)