This function evaluates the Matern covariance function for the elements of a vector.
1 | maternArray(d, scale = 1, range = 1, smoothness = 0.5, nugget = 0)
|
d |
A numeric vector of distances at which the Matern correlation function should be evaluated. |
scale |
Scales correlations to covariances. |
range |
Matern range parameter. Controls the decay of pointwise correlations as a function of distance. |
smoothness |
Matern smoothness parameter. Controls the number of process derivatives. |
nugget |
Spatial covariance nugget. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.