dissection: Dissection

View source: R/dissection.R

dissectionR Documentation

Dissection

Description

Calculates the Evans (1972) Martonne's modified dissection

Usage

dissection(x, s = 5, ...)

Arguments

x

A terra SpatRaster class object

s

Focal window size

...

Additional arguments passed to terra::lapp

Details

Dissection is calculated as: ( z(s) - min(z(s)) ) / ( max(z(s)) - min(z(s)) )

Value

A SpatRaster class object of Martonne's modified dissection

Author(s)

Jeffrey S. Evans <jeffrey_evans@tnc.org>

Examples

 
library(terra)
elev <- rast(system.file("extdata/elev.tif", package="spatialEco"))
  d <- dissection(elev, s=3)
    plot(d, main="dissection") 
     


spatialEco documentation built on Nov. 18, 2023, 1:13 a.m.