cov_gen {hetGP}R Documentation

Correlation function of selected type, supporting both isotropic and product forms

Description

Correlation function of selected type, supporting both isotropic and product forms

Usage

cov_gen(X1, X2 = NULL, theta, type = c("Gaussian", "Matern5_2", "Matern3_2"))

Arguments

X1

matrix of design locations, one point per row

X2

matrix of design locations if correlation is calculated between X1 and X2 (otherwise calculated between X1 and itself)

theta

vector of lengthscale parameters (either of size one if isotropic or of size d if anisotropic)

type

one of "Gaussian", "Matern5_2", "Matern3_2"

Details

Definition of univariate correlation function and hyperparameters:

Multivariate correlations are product of univariate ones.


[Package hetGP version 1.1.6 Index]