corr_aniso: Gaussian anisotropic correlation function

Description Usage Arguments Value

Description

Gaussian anisotropic correlation function

Usage

1
2
corr_aniso(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

eta

smoothness parameters. Control how smooth the correlation function is.

phi1

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

phi2

decay parameter. Control the strength of the correlation 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 correlation matrix between points.


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