R/agentMatrix-Class-methods.R
extent.Rd
Same as sp::bbox
and raster::extent
.
# S4 method for worldNLR
extent(x, ...)
# S4 method for agentMatrix
extent(x, ...)
object deriving from class "agentMatrix", or a "worldMatrix" or "worldArray"
Ignored.
bbox
returns a two-column matrix; the first column has the minimum,
the second the maximum values; rows represent the spatial dimensions.
extent
returns an SpatExtent
object from the package terra
.
bbox()
, coordinates()