spk | R Documentation |
Determines the reduced peak height (Spk), the height difference between the maximum y value of the bearing area curve and the y value of the highest intersection point 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.
spk(x)
x |
A raster or matrix. |
A numeric value representing the reduced peak height.
# import raster image
data(normforest)
normforest <- terra::unwrap(normforest)
# determine the reduced peak height
Spk <- spk(normforest)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.