select: Select features from Spatial objects

Description Usage Arguments Value Methods Author(s) See Also

Description

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

Usage

1
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, ...)

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)

Author(s)

Robert J. Hijmans

See Also

click, crop


geovec documentation built on May 2, 2019, 6:15 p.m.