ssk {geodiv}R Documentation

Calculates the Skewness of Raster Values

Description

Finds the Fisher-Pearson coefficient of skewness for raster or matrix values (Ssk). Skewness represents the asymmetry of the surface height distribution. Height is measured as the value of a raster/matrix and may not necessarily represent actual height.

Usage

ssk(x, adj = TRUE)

Arguments

x

A raster or matrix.

adj

Logical, defaults to TRUE. If TRUE, the adjusted Fisher-Pearson coefficient of skewness is calculated. Otherwise, the standard coefficient is calculated.

Value

A numeric value representing skewness. # import raster image data(normforest) normforest <- terra::unwrap(normforest)

# find the adjusted coefficient of skewness Ssk <- ssk(normforest, adj = TRUE)


[Package geodiv version 1.1.0 Index]