loocv_interpolate_points: LOOCV of given point values

Description Usage Arguments Value Author(s)

View source: R/loocv_interpolate_points.R

Description

This function applies a leave-one-out-cross-validation on given spatial data

Usage

1
2
3
4
5
6
loocv_interpolate_points(
  sp_points,
  aim_variable,
  co_variables = FALSE,
  procedure = c("ked", "rfk", "ok", "idw")
)

Arguments

sp_points

SpatialPointsDataframe containing the aim variable and if "ked" should be applied the covariables

aim_variable

Character string with the name of the aim variable

co_variables

default = FALSE, vector of covariables if needed

procedure

default = c("ked","rfk,"ok","idw"); vector containing the interpolation technic to be used; the first method is used and if this does not work out, the second, and so on; KED = Kriging With external Drift; RFK = Random Forest Kriging; OK = Ordinary Kriging; IDW = Inverse distance Weighting

Value

interpolated point values as sp or raster file depending on outputfile

Author(s)

Wolfgang Hamer


whamer/papros documentation built on Feb. 6, 2021, 8:54 a.m.