sku | R Documentation |
Finds the kurtosis for a distribution of raster or matrix values (Sku). Kurtosis represents the peakedness of the raster surface height distribution. Height is measured as the value of a raster/matrix and may not necessarily represent actual height.
sku(x, excess = TRUE)
x |
A raster or matrix. |
excess |
Logical, defaults to |
A numeric value representing kurtosis.
# import raster image
data(normforest)
normforest <- terra::unwrap(normforest)
# find the excess kurtosis of the raster distribution
Sku <- sku(normforest, excess = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.