p | R Documentation |
Interactively reposition the current plot. Works on an existing
qmap
object. Simply pass that object to p()
. A single
repositioning results and the extent of the qmap
object is changed.
p(qmap_obj = NULL, loc = NULL)
qmap_obj |
A qmap object. Optional, but performs better with larger data sets. |
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))
p()
## Or
p(x)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.