Learn R Programming

prettymapr (version 0.2.5)

mergebbox: Combine bounding boxes

Description

Create a single bounding box that encloses all of the bounding boxes.

Usage

mergebbox(...)

Value

A single bounding box that contains all of its arguments.

Arguments

...

An arbitrary number of bounding boxes as generated by sp::bbox, makebbox or searchbbox

Examples

Run this code

box1 <- makebbox(45, -64, 44, -65)
box2 <- makebbox(45.5, -64.5, 44.5, -65.6)
mergebbox(box1, box2)

Run the code above in your browser using DataLab