Learn R Programming

hyperSpec (version 0.98-20110927)

map.sel.poly: Interactively select a polygon (grid graphics)...

Description

Interactively select a polygon (grid graphics)

Usage

sel.poly(pch=19, size=0.3, ...)

Arguments

pch
symbol to display the points of the polygon
size
size for polygon point symbol
...
further arguments for grid.points and grid.lines

Value

  • n x 2 matrix with the points of the open polygon

Details

Click the points that should be connected as polygon. Input ends with right click (see grid.locator).

See Also

grid.locator