Learn R Programming

kergp (version 0.5.7)

varVec: Generic Function: Variance of Gaussian Process at Specific Locations

Description

Generic function returning a variance vector

Usage

varVec(object, X, ...)

Value

A numeric vector with length nrow(X) containing the variances

\(K(\mathbf{x}, \mathbf{x})\) for all the sites

\(\mathbf{x}\).

Arguments

object

Covariance kernel object.

X

A matrix with \(d\) columns, where \(d\) is the number of inputs of the covariance kernel. The \(n\) rows define a set of sites or locations.

...

Other arguments for methods.