Description Usage Arguments Value
View source: R/auto_krige_model_CV_haversine.R
Fitting multiple variogram models using haversine distance (default) or euclidean.
1 2 3 4 5 6 7 8 | auto_krige_model_CV_haversine(
df,
distance = "haversine",
best_model_criteria = "MSE",
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. |
best_model_criteria |
The criteria to be taken for the choosing of the best model. |
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 all the results of the combinations of the model and a gstat object of the best model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.