create_lsma: Create an 'lsma' object

View source: R/create_lsma.R

create_lsmaR Documentation

Create an lsma object

Description

Construct a structured object of class lsma, used to store landscape rasters and metadata for multi-scale analysis. Used internally to structure landscape objects. Users typically do not need to call this function directly.

Usage

create_lsma(rasters, points, buffers, strategy, buffers_sf = NULL, ...)

Arguments

rasters

A named list of SpatRaster objects (from the terra package), one per site.

points

A SpatVector, sf, or ⁠SpatialPoints*⁠ object with sampling sites.

buffers

A numeric vector of buffer radii used to generate the rasters.

strategy

A character string: one of "nested", "decouple", or "partial_decouple".

buffers_sf

(optional) A named list of SpatVector objects representing the original buffer geometries used during extraction, one per site.

...

Reserved for future use.

Value

An object of class lsma, containing metadata and raster data.


wilsonfrantine/landscapeDecoupler documentation built on June 2, 2025, midnight