Evaluate.Kernel {rkriging} | R Documentation |
Evaluate Kernel
Description
This function computes the kernel (correlation) matrix.
Given the kernel class object and the input data of size n,
this function computes the corresponding
kernel (correlation) matrix.
Usage
Evaluate.Kernel(kernel, X)
Arguments
kernel |
a kernel class object |
X |
input data |
Value
The kernel (correlation) matrix of X evaluated by the kernel.
Author(s)
Chaofan Huang and V. Roshan Joseph
See Also
Examples
n <- 5
p <- 3
X <- matrix(rnorm(n*p), ncol=p)
lengthscale <- c(1:p)
kernel <- Gaussian.Kernel(lengthscale)
Evaluate.Kernel(kernel, X)
[Package rkriging version 1.0.1 Index]