Description Usage Arguments Value Methods Author(s) See Also
Select spatial features from SpatialPoints*, SpatialLines*, or SpatialPolygons* by drawing on a plot (map).
1 |
x |
SpatialPoints*, SpatialLines*, or SpatialPolygons* |
... |
Additional arguments. See Methods |
Spatial* object (invisibly)
A full call is:
select(x, use='rec', draw=TRUE, col='cyan', size=2, ...)
use | Character: 'rec' or 'pol'. To use a rectangle or a polygon for selecting | |
draw | Logical. Add the selected features to the plot | |
col | Color. Color to use to draw the selected features (when draw=TRUE) | |
size | size. Size to draw the selected features with (when draw=TRUE) | |
Robert J. Hijmans
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.