This function evaluates the Matern covariance function for the elements of a vector.
maternArray(d, scale = 1, range = 1, smoothness = 0.5, nugget = 0)
A numeric vector of distances at which the Matern correlation function should be evaluated.
Scales correlations to covariances.
Matern range parameter. Controls the decay of pointwise correlations as a function of distance.
Matern smoothness parameter. Controls the number of process derivatives.
Spatial covariance nugget.