Description Usage Arguments Value
View source: R/auto_fit_variogram_haversine.R
Fitting multiple variogram models using haversine distance (default) or euclidean.
1 2 3 4 5 6 7 | auto_fit_variogram_haversine(
df,
distance = "haversine",
max_dist,
model_classes = c("matern", "exponential", "gaussian", "spherical"),
weights_types = c("npairs", "cressie", "equal")
)
|
df |
A dataframe that has 'value' and two coordinates columns 'lat', 'long' for haversine or 'x' and 'y' for euclidean. |
distance |
Type of distance to be choosen. |
max_dist |
Maximum distance to be considered in the fitting of variogram models. |
model_classes |
Classes of variogram models to be considered. |
weight_types |
Weights considered in the fitting of the variogram models. |
A list containing first the plot, caracteristic and gstat object of the best model; also all the results of the other models.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.