identify.lgcpPredict | R Documentation |
Identifies the indices of grid cells on plots of lgcpPredict
objects. Can be used to identify
a small number of cells for further information eg trace or autocorrelation plots (provided data has been dumped to disk). On calling
identify(lg)
for example (see code below), the user can click multiply with the left mouse button on the graphics device; once
the user has selected all points of interest, the right button is pressed, which returns them.
## S3 method for class 'lgcpPredict'
identify(x, ...)
x |
an object of class lgcpPredict |
... |
additional arguments |
a 2 x n matrix containing the grid indices of the points of interest, where n is the number of points selected via the mouse.
lgcpPredict, loc2poly
## Not run: plot(lg) # lg an lgcpPredict object
## Not run: pt_indices <- identify(lg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.