getbb: getbb function

Description Usage Arguments Value

View source: R/GMRF.R

Description

A function to get the bounding box of a Spatial object

Usage

1
getbb(obj)

Arguments

obj

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

Value

a SpatialPolygons object: the bounding box


spatsurv documentation built on May 22, 2018, 5:09 p.m.