kriging {synergyfinder}R Documentation

Kriging

Description

This function interpolates a zero mean Gaussian random field using the simple kriging predictor.

Usage

kriging(
  data,
  data.coord,
  krig.coord,
  cov.mod = "whitmat",
  sill,
  range,
  smooth,
  smooth2 = NULL,
  grid = FALSE,
  only.weights = FALSE
)

Arguments

data

A numeric vector or matrix. If data is a matrix then the simple kriging predictor is given for each realisation, i.e., each row of data.

data.coord

A numeric vector or matrix specifying the coordinates of the observed data. If data.coord is a matrix, each row must corresponds to one location.

krig.coord

A numeric vector or matrix specifying the coordinates where the kriging predictor has to be computed. If krig.coord is a matrix, each row must correspond to one location.

cov.mod

A character string specifying the covariance function family. Must be one of "whitmat", "powexp", "cauchy", "bessel" or "caugen" for the Whittle-Matern, the powered exponential, the Cauchy, the Bessel or the generalized Cauchy covariance families.

sill, range, smooth, smooth2

Numerics specifiying the sill, range, smooth and, if any, the second smooth parameters of the covariance function.

grid

logical. Does krig.coord specifies a grid?

only.weights

Logical. Should only the kriging weights be computed? If FALSE, the kriging predictor isn't computed.

Value

A list with components


[Package synergyfinder version 2.0.12 Index]