identify.somgrid: Identify a grid cell in a grid display

Description Usage Arguments Value Author(s) See Also

Description

This function reads the pointer position when the (first) mouse button is pressed. The closest grid cell is identified and highlighted (if it was not already selected). The indices of the identified cells are returned as the value of the call.

Usage

1
2
## S3 method for class 'somgrid'
identify(x, n=x$size, ...)

Arguments

x

an object of class "somgrid"

n

the maximum number of cells to be identified

...

not used

Value

An integer vector containing the indices of the identified cells.

Author(s)

Fabrice Rossi

See Also

See identify for the generic function.


yasomi documentation built on May 2, 2019, 5:59 p.m.