i | R Documentation |
Interactively select an sp
or raster
object and print the
data associated with it. i()
only accepts a single input point.
i(qmap_obj = NULL, i_idx = 1, loc = NULL)
qmap_obj |
a |
i_idx |
a numeric value specifying which data layer to identify or a character string indicating the name of the layer. Defaults to 1. |
loc |
A list with an x and y numeric indicating a location. Default is to interactively get loc value until escaped. |
Returns NULL. Identified values are printed to the screen.
## Not run:
data(lake)
qm<-qmap(list(lake,elev,samples))
i(qm,"lake")
i(qm,"samples")
i(qm,2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.