covar_aniso: Gaussian anisotropic covariance function

Description Usage Arguments Value

Description

Gaussian anisotropic covariance function

Usage

1
2
3
covar_aniso(sigma = 1.25, eta = 0.001, phi1 = 5, phi2 = 2.5,
  theta = 0, coords = expand.grid(x = seq(-10, 10, by = 2), y = seq(-10, 10,
  by = 2)))

Arguments

sigma

standard deviation for the covariance function

eta

smoothness parameters. Control how smooth the covariance function is.

phi1

decay parameter. Control the strength of the covariance between the points.

phi2

decay parameter. Control the strength of the covariance between the points.

theta

angle of the anisotropic field.

coords

matrix holding the coordinates of the points. Remember that the points must be projected if you want a correaltion matrix that make sense.

Value

A Gaussian anisotropic covariance matrix between points.


RoyChristian/startR documentation built on May 9, 2019, 10:34 a.m.