makebbox {prettymapr} | R Documentation |
Create a Bounding Box
Description
Convencience method to create a bounding box like that returned by sp::bbox()
.
To generate a bounding box from lists of lat/lon values use sp::bbox(cbind(lons, lats))
.
Usage
makebbox(n, e, s, w)
Arguments
n |
North bounding latitude |
e |
East bounding longitude |
s |
South bounding latitude |
w |
West bounding longitude |
Value
A 2x2 matrix describing a bounding box like that returned by sp::bbox()
See Also
sp::bbox
Examples
makebbox(45.125, -64.25, 44.875, -64.75)
[Package prettymapr version 0.2.5 Index]