sk: Core Roughness Depth

View source: R/bearingarea.R

skR Documentation

Core Roughness Depth

Description

Determines the core roughness depth (Sk), the height difference between y values of the intersection points of the least mean square line fit to the flattest 40% of the bearing area curve. See Figure 2a from Kedron et al. (2018) for more details.

Usage

sk(x)

Arguments

x

A raster.

Value

A numeric value representing the core roughness depth of the image.

Examples

# import raster image
data(normforest)
normforest <- terra::unwrap(normforest)

# determine the core roughness depth
Sk <- sk(normforest)

geodiv documentation built on Oct. 6, 2023, 1:07 a.m.