powered by
This is a wrapper for R's abline function. See R's documentation for graphics::abline for further details.
abline( a = NULL, b = NULL, h = NULL, v = NULL, reg = NULL, coef = NULL, Rcss = "default", Rcssclass = NULL, ... )
coefficient (intercet and slope) for line
horizontal, vertical positions for line
an object with a coef method
vector with interect and slope for line
style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle().
character, style class
Further parameters, see documentation of abline()
# NOT RUN { # draw a set of horizontal lines and a vertical line plot(c(0, 1), c(0, 1), type="n") abline(h=seq(0, 1, by=0.2)) abline(v=0.8) # }
Run the code above in your browser using DataLab