Skip to contents

Sum over the components (lists with model Exp, Gau, Sph, Mat with kappa, or Nug; psill, range, nugget) of \(psill\,\rho(h/range)\) plus the nugget at \(h = 0\).

Usage

KrigingCovariance(h, model)

Arguments

h

Distance(s).

model

One component list or a list of nested components.

Value

Covariance values.

Examples

KrigingCovariance(1, list(list(model = "Nug", psill = 0.5),
                          list(model = "Exp", psill = 2, range = 2)))
#> [1] 1.213061