compute.covariance.from.distance {SSM}R Documentation

Compute unscaled covariance matrix from a supplied distance matrix and length parameter.

Description

This is a legacy function and is not used.

Usage

compute.covariance.from.distance(distance, r, type = "exp", ssm)

Arguments

distance

A matrix. A symmetric matrix of distances between design points.

r

A number. The length parameter for the correlation function

type

(optional) Character. Specifies the correlation function. Default behaviour is to use "exp" for a squared exponential correlation. "Matern32" uses a Matern 3/2 correlation.

ssm

(obsolete) An SSM object. Used for the removed "ssm" correlation function which tried to use the local smoothness of the SSM to measure distances.


[Package SSM version 1.0.1 Index]