ssk: Calculates the Skewness of Raster Values

Description Usage Arguments Value

View source: R/basics.R

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

1
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)

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


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