CalcMeans: Calculate the mean of absolute values raised to an exponent...

View source: R/GeostTextureLibrarySharedRoxy.R

CalcMeansR Documentation

Calculate the mean of absolute values raised to an exponent found in a search window

Description

With this you can compute variogram and madogram (but remember that for classical geostatistical indexes you need to divide the derived isotropic index by 2!)

Usage

CalcMeans(deltas, w, exponent)

Arguments

deltas

The values from which calculate the median of absolute values (i.e., directional differences of order K)

w

The moving window used (e.g. w=KernelCircular(3))

exponent

The exponent: increasing the exponent increase the sensitivity to outliers. Set 2 for Variogram and 1 for Madogram.

Value

A raster with the mean of absolute values in the search window


SurfRough documentation built on April 4, 2025, 2:19 a.m.