Description Usage Arguments Value Author(s) See Also Examples
Turn lists of points into a matrix for plotting
1 | xy(p1, p2)
|
p1 |
A matrix of (x,y) coordinates, or a list of such matrices |
p2 |
A matrix of (x,y) coordinates |
The result of rbind
on the arguments
Georges Monette
rbind
, ~~~
1 2 3 4 5 6 7 8 9 10 | ##---- 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 ) {
# turn list of points into matrix for plotting
if( is.list( p1) ) do.call( rbind, plist)
else rbind( p1, p2)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.