variogram {PrevMap}R Documentation

The empirical variogram

Description

This function computes sample (empirical) variograms with options for the classical or robust estimators. Output can be returned as a binned variogram, a variogram cloud or a smoothed variogram. Data transformation (Box-Cox) is allowed. “Trends” can be specified and are fitted by ordinary least squares in which case the variograms are computed using the residuals.

Usage

variogram(data, var.name, coords, ...)

Arguments

data

an object of class "data.frame" containing the data.

var.name

a formula object indicating the variable to display.

coords

a formula object indicating the geographical coordinates.

...

additional arguments to be passed to variog.

Value

An object of the class "variogram" which is list containing components as detailed in variog.


[Package PrevMap version 1.5.4 Index]