extent: Get extent of a variety of spatial objects

extentR Documentation

Get extent of a variety of spatial objects

Description

This is a wrapper around terra::ext, sf::st_bbox, and raster::extent.

Usage

## S4 method for signature 'ANY'
extent(x, ...)

Arguments

x

The spatial object from which to extract the extent.

...

Not used.

Value

Returns a list of length 4 with elements xmin, xmax, ymin, and ymax, in that order.


PredictiveEcology/quickPlot documentation built on July 8, 2023, 1:29 a.m.