Learn R Programming

fields (version 8.3-6)

CovarianceUpper: Evaluate covariance over upper triangle of distance matrix

Description

Evaluates the covariance over the upper triangle of a distance matrix rather than over the entire matrix to reduce computation time.

Usage

ExponentialUpper(distMat, range = 1, alpha = 1/range, phi = 1)

Arguments

Value

The covariance matrix, where only the upper triangle is calculated.

See Also

Exponential