Skip to contents

separable \(sill\,C_s(h)C_t(u)\); productSum \(C_t + C_s + k C_t C_s\) (De Cesare et al. 2001); metric \(C_j(\sqrt{h^2 + (\kappa u)^2})\); sumMetric \(C_s + C_t + C_j(\sqrt{h^2 + (\kappa u)^2})\). Components are lists with model (Exp, Gau, Sph, Mat with kappa, Nug), psill, range, nugget, as gstat vgm (Graeler, Pebesma and Heuvelink 2016).

Usage

STCovariance(ds, dt, model)

Arguments

ds

Spatial lag(s).

dt

Time lag(s).

model

List with type and its components.

Value

Covariance values.

References

Graeler, B., Pebesma, E. and Heuvelink, G. (2016). Spatio-temporal interpolation using gstat. The R Journal 8, 204-218.

Examples

m <- list(type = "separable", sill = 2, space = list(model = "Exp", range = 1),
          time = list(model = "Gau", range = 2))
STCovariance(1, 1, m)
#> [1] 0.5730096