Learn R Programming

spatsurv (version 2.0)

getbb: getbb function

Description

A function to get the bounding box of a Spatial object

Usage

getbb(obj)

Value

a SpatialPolygons object: the bounding box

Arguments

obj

a spatial object e.g. a SpatialPolygonsDataFrame, SpatialPolygons, etc ... anything with a bounding box that can be computed with bbox(obj)