extract_landscapes: Extract multi-scale landscapes

View source: R/extract_landscapes.R

extract_landscapesR Documentation

Extract multi-scale landscapes

Description

Cut a raster around sampling points using different buffer radii and strategies. Returns a structured object of class lsma.

Usage

extract_landscapes(r, p, buffers, strategy = "nested", keep_buffer = NULL)

Arguments

r

A ⁠Raster*⁠ or SpatRaster object.

p

A set of sampling points (sf, SpatVector, or ⁠SpatialPoints*⁠).

buffers

A numeric vector of buffer sizes (in map units).

strategy

The extraction strategy: "nested", "decouple" or "partial_decouple".

...

Reserved for future use.

Value

An object of class lsma.


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