Description Usage Arguments Value
View source: R/functions_polygon.r
A function for limiting the points to being within a certain polygon? Returns a matrix of the (x, y) coordinates of points within the polygon.
1 | poly.int2(xpoly, xtest)
|
xpoly |
A matrix of the (x, y) coordinates that are the vertices of the clipping polygon. Assumes first point = last point. |
xtest |
A matrix of the (x, y) coordinates of the candidate points |
A matrix of the (x, y) coordinates of points within the polygon.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.