decouple: Decouple landscape scales

View source: R/decouple.R

decoupleR Documentation

Decouple landscape scales

Description

Return a list of RasterBricks with decoupled scales from a raster file, given sampling points and radii sizes.

Usage

decouple(r,p,b)

Arguments

r

a raster object. Raster must be projected to UTM system, otherwise, buffer sizes will be given in map units.

p

a set of Spatial* or simple_features points from where buffers will be calculated

b

a vector of buffer sizes (radius) to be calculated. If a single value is provided the function returns a simple buffer cut.

Details

this function was designed to sequentially perform both decoupling strategies: symetric (same size buffers) asymetric. Buffer sizes are meant to be higher than zero and increasing in size. Different settings will result in an unexpected behaviour. The functions can also runs in parallel using the "Future" API. Users must only set the parallelization extrategy with future::plan() and run the function.

Author(s)

Wilson Frantine-Silva

See Also

decouple.specific(), nestedscales()

Examples

## Not run: 
r <- raster(system.file("extdata/raster.grd", package = "landscapeDecoupler"))
p <- read_points(system.file("extdata/pnts.shp", package = "landscapeDecoupler"), type = "shp")
b <- c(750,1500,3000)
my.decoupled.landscape <- decouple(r,p,b)

## End(Not run)

wilsonfrantine/landscapeDecoupler documentation built on Oct. 31, 2024, 3:45 a.m.