bbox2pol: Bounding box 2 SpatialPolygons

Description Usage Arguments Value

View source: R/bbox2pol.R

Description

Turns a bounding box to a SpatialPolygons

Usage

1
bbox2pol(x,ex=NULL)

Arguments

x

If x is missing, the bounding box of the plot region will be used (par("usr")). If an object inheriting from "Spatial" is given, its bounding box wiil be used. Otherwise, a vector with c(x1, x2, y1, y2)) has to be given.

ex

A value in the same unit as the spatial object by which to extend the box

Value

A SpatialPolygons


frousseu/FRutils documentation built on April 8, 2021, 3:03 p.m.