Learn R Programming

raster (version 1.9-58)

select: Select features from Spatial objects

Description

Select spatial features from SpatialPoints*, SpatialLines*, or SpatialPolygons* by drawing on a plot (map).

Usage

select(x, ...)

Arguments

x
SpatialPoints*, SpatialLines*, or SpatialPolygons*
...
Additional arguments. See Methods

Value

  • Spatial* object (invisibly)

Methods

A full call is: select(x, use='rec', draw=TRUE, col='cyan', size=2, ...) rll{ 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) }

See Also

crop