abline2 | R Documentation |
Generates arguments to plot a line via abline
abline2(p1, p2, ...)
p1 |
Either a list of points or a single point |
p2 |
Another point |
... |
Other points, or arguments to |
None. Used for its side effect
Georges Monette
abline
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function( p1, p2, ...) {
if ( is.list(p1)) abline2( p1[[1]], p1[[2]], ...)
else do.call( abline, c(ab(p1,p2),...))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.