Description Usage Arguments Value See Also Examples
select a number of points by digitizing the area they fall in
1 |
data |
data object of class, or extending |
digitize |
logical; if TRUE, points in a digitized polygon are selected; if FALSE, points identified by mouse clicks are selected |
pch |
plotting character used for points |
rownames |
logical; if FALSE, row (coordinate) numbers are returned; if TRUE and data contains a data.frame part, row.names for selected points in the data.frame are returned. |
if rownames == FALSE, array with either indexes (row numbers) of points inside the digitized polygon; if rownames == TRUE, character array with corresponding row names in the data.frame part
point.in.polygon, locator, SpatialPoints-class, SpatialPointsDataFrame-class
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.