sdc | R Documentation |
Determines the height interval (height distance) for points along the bearing area curve as defined by their x values.
sdc(x, low, high)
x |
A raster or matrix. |
low |
Numeric value along the x-axis corresponding to the lowest value of interest along the x-axis. |
high |
Numeric value along the y-axis corresponding to the highest value of interest along the x-axis. |
A numeric value of the difference in height of the y values along the bearing area curve corresponding to the specified x values.
# import raster image
data(normforest)
normforest <- terra::unwrap(normforest)
# determine the 10-40% height interval of the
# bearing area curve
val <- sdc(normforest, 0.1, 0.4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.