sk: Core Roughness Depth

Description Usage Arguments Value Examples

View source: R/bearingarea.R

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

1
sk(x)

Arguments

x

A raster.

Value

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

Examples

1
2
3
4
5
# import raster image
data(normforest)

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

Example output

Warning messages:
1: In is.na(f) : is.na() applied to non-(list or vector) of type 'closure'
2: In is.na(f) : is.na() applied to non-(list or vector) of type 'closure'

geodiv documentation built on Sept. 5, 2021, 5:26 p.m.