powered by
Interactively select a single sp or raster object and return the object. s() only accepts a single input point.
sp
raster
s()
s(qmap_obj = NULL, s_idx = 1, loc = NULL)
a qmap object from which to select features.
qmap
a numeric value specifying which data layer to select or a character string indicating the name of the layer. Defaults to 1.
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) # }
Run the code above in your browser using DataLab