Modified function from the geoR package to calculate the sample variogram with any distance-matrix.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | variog_non_euclidean(
geodata,
coords = geodata$coords,
data = geodata$data,
uvec = "default",
breaks = "default",
trend = "cte",
lambda = 1,
option = c("bin", "cloud", "smooth"),
estimator.type = c("classical", "modulus"),
nugget.tolerance,
max.dist,
pairs.min = 2,
bin.cloud = FALSE,
direction = "omnidirectional",
tolerance = pi/8,
unit.angle = c("radians", "degrees"),
angles = FALSE,
messages,
...
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.