auto_fit_variogram_haversine: Fitting multiple variogram models using haversine distance...

Description Usage Arguments Value

View source: R/auto_fit_variogram_haversine.R

Description

Fitting multiple variogram models using haversine distance (default) or euclidean.

Usage

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")
)

Arguments

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.

Value

A list containing first the plot, caracteristic and gstat object of the best model; also all the results of the other models.


Martins6/distgeomodel documentation built on Nov. 12, 2020, 5:35 p.m.