extent: Bounding box and extent methods for NetLogoR classes

extent,worldNLR-methodR Documentation

Bounding box and extent methods for NetLogoR classes

Description

Same as sp::bbox and raster::extent.

Usage

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

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

Arguments

x

object deriving from class "agentMatrix", or a "worldMatrix" or "worldArray"

...

Ignored.

Value

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.

See Also

bbox(), coordinates()


PredictiveEcology/NetLogoR documentation built on Jan. 31, 2024, 9:31 p.m.