powered by
Interactively select an sp or raster object and print the data associated with it. i() only accepts a single input point.
sp
raster
i()
i(qmap_obj = NULL, i_idx = 1, loc = NULL)
a qmap object from which to identify features.
qmap
a numeric value specifying which data layer to identify 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 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) # }
Run the code above in your browser using DataLab