Learn R Programming

SurfRough (version 0.0.1.0)

CalcMeans: 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)

Value

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

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.