zi | R Documentation |
Interactively zoom in on the current plot. Works on an existing
qmap
object. Simply pass that object to zi()
. A single zoom in
results and the extent of the
qmap
object is changed.
zi(qmap_obj = NULL, zoom_perc = 0.5, loc = NULL)
qmap_obj |
A qmap object. Optional, but performs better with larger data sets. |
zoom_perc |
A proportion to determine the zoom level. The x and y axes are reduced by this amount. Default is 0.5. |
loc |
A list with an x and y numeric indicating a location. Default is to interactively get loc value until escaped. |
## Not run:
data(lake)
x<-qmap(list(lake,buffer,elev))
zi(x)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.