zoom: zoom

Description Usage Arguments Value

View source: R/spat.R

Description

Zoom in on a raster like a microscope draws a new extent m(x-,x+,y-,y+) d(x,y) is centerpoint of raster z is zoom factor scaled by ((x+ - x-)|(y+ - y-))/(2 * z)

Usage

1
zoom(x, d, z = 2)

Arguments

x

is a spatial object

d

is coordinate pair (centerpoint)

z

is numeric zoom factor

Value

spatial object scaled to new extent by zoom factor


crumplecup/muddier documentation built on Aug. 18, 2021, 11:02 a.m.