makebbox: Create a Bounding Box

View source: R/bboxtools.R

makebboxR 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)


prettymapr documentation built on May 29, 2024, 5:38 a.m.