This method function calculates the semi-variogram for an arbitrary
object, according to the distances in
For each pair of elements x,y in
corresponding semi-variogram is (x-y)^2/2. The semi-variogram is
useful for identifying and modeling spatial correlation structures in
observations with constant expectation and constant variance.
a numeric vector with the values to be used for calculating the semi-variogram, usually a residual vector from a fitted model.
a numeric vector with the pairwise distances
corresponding to the elements of
some methods for this generic require additional arguments. None are used in this method.
a data frame with columns
respectively, the semi-variogram values and the corresponding
distances. The returned value inherits from class
Jos<c3><a9> Pinheiro and Douglas Bates [email protected]
Cressie, N.A.C. (1993), "Statistics for Spatial Data", J. Wiley & Sons.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.