Learn R Programming

geodiv (version 1.1.0)

sk: 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)

Value

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

Arguments

x

A raster.

Examples

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

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

Run the code above in your browser using DataLab