polygon.inside {RGeostats} | R Documentation |
Cheks if a set of points belong to a Polygon or not
polygon.inside(polygon, x, y)
polygon |
The |
x |
Array of coordinates along X for the points to be tested |
y |
Array of coordinates along Y for the points to be tested |
The arguments 'x' and 'y' must have the same dimension
A vector (same dimension as 'x' or 'y'): a value of TRUE indicates that the correspondaing sample belongs to the Polygon; FALSE otherwise