
Matheron classical semivariogram estimator with its (4.25) variance
Source:R/schaben_native.R
morie_matheron_estimator.RdEquation (4.24). Provided alongside morie_cressie_hawkins() so the
two can be read on identical lag classes; morie_spatial_variogram
bins differently and is kept for backwards compatibility.
Examples
V <- c(1, 2, 3, 4, 5, 6, 7, 8)
morie_matheron_estimator(V, V)
#> $lag
#> [1] 1 2 3
#>
#> $gamma
#> [1] 0.5 2.0 4.5
#>
#> $n_pairs
#> [1] 7 6 5
#>
#> $variance
#> [1] 0.07142857 1.33333333 8.10000000
#>
#> $sparse_lags
#> [1] 0 1 2
#>
#> $n
#> [1] 8
#>
#> $method
#> [1] "Matheron classical semivariogram estimator"
#>