dot-prepare_extent: Prepare the extent for spatial plots

.prepare_extentR Documentation

Prepare the extent for spatial plots

Description

Prepare the extent for spatial plots

Usage

.prepare_extent(ext)

Arguments

ext

A numeric vector of length 4 specifying the extent as c(xmin, xmax, ymin, ymax), or a SpatExtent object from the terra package.

Value

A SpatExtent object if ext is a numeric vector, or the original SpatExtent if it is already one. NULL is returned if ext is NULL.


plotthis documentation built on Aug. 8, 2025, 7:37 p.m.