makebbox | R Documentation |
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))
.
makebbox(n, e, s, w)
n |
North bounding latitude |
e |
East bounding longitude |
s |
South bounding latitude |
w |
West bounding longitude |
A 2x2 matrix describing a bounding box like that returned by sp::bbox()
sp::bbox
makebbox(45.125, -64.25, 44.875, -64.75)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.