zo: Zooms out on current plot

Description Usage Arguments Examples

View source: R/zo.R

Description

Interactively zoom out on the current plot. Works on an existing qmap object. Simply pass that object to zo(). A single zoom out results and the extent of the qmap object is changed.

Usage

1
zo(qmap_obj = NULL, zoom_perc = 0.5, loc = NULL)

Arguments

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 increased 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.

Examples

1
2
3
4
5
6
## Not run: 
data(lake)
qm<-qmap(list(lake,buffer,elev))
zo(qm)

## End(Not run)

quickmapr documentation built on May 2, 2019, 3:29 p.m.