cv_krige_haversine: 'Leave-one-out' Cross-Validation method to measure model...

Description Usage Arguments Value

View source: R/cross_validation_krige.R

Description

'Leave-one-out' Cross-Validation method to measure model performance.

Usage

1
cv_krige_haversine(df, varg, distance = "haversine")

Arguments

df

A dataframe that has 'value' and two coordinates columns 'lat', 'long' for haversine or 'x' and 'y' for euclidean.

varg

A variogram object from the gstat library.

distance

Type of distance to be choosen.

Value

A tibble containing data from the Cross-Validation.


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