apply_extent: Apply extent to the processed data

View source: R/process_auxiliary.R

apply_extentR Documentation

Apply extent to the processed data

Description

User-defined extent is used to filter the data.

Usage

apply_extent(data, extent, geom)

Arguments

data

sf/terra object.

extent

numeric(4). Extent to filter the data. Should be ordered as c(xmin, xmax, ymin, ymax).

geom

character(1 or 2). Geometry type for if data is data.frame. One of "geometry" or c("lon", "lat").

Value

sf/terra object with the extent applied.


amadeus documentation built on April 4, 2025, 12:21 a.m.