s | R Documentation |
Interactively select a single sp
or raster
object and return the
object. s()
only accepts a single input point.
s(qmap_obj = NULL, s_idx = 1, loc = NULL)
qmap_obj |
a |
s_idx |
a numeric value specifying which data layer to select 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. |
Returns a selected sp
object
## Not run:
data(lake)
qm<-qmap(list(lake,elev,samples))
s(qm,"lake")
s(qm,3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.