Learn R Programming

kergp (version 0.5.7)

kGauss: Gauss (Squared-Exponential) Kernel

Description

Gauss (or squared exponential) covariance function.

Usage

kGauss(d)

Value

An object of class "covMan" with default parameters: 1 for ranges and variance values.

Arguments

d

Dimension.

References

C.E. Rasmussen and C.K.I. Williams (2006), Gaussian Processes for Machine Learning, the MIT Press, tools:::Rd_expr_doi("10.7551/mitpress/3206.001.0001")

Examples

Run this code
kGauss()  # default: d = 1, nu = 5/2
myGauss <- kGauss(d = 2)
coef(myGauss) <- c(range = c(2, 5), sigma2 = 0.1)
myGauss

Run the code above in your browser using DataLab