Learn R Programming

hyperSpec (version 0.98-20140523)

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

Description

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

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

See Also

grid.locator