new.distance {SSM} | R Documentation |
Compute the distance matrix of an SSM design.
Description
Computes the distance matrix associated with the design held in the
design
slot of an SSM object. Used in the construction of the
metamodel error estimating Gaussian process.
Usage
new.distance(type = "distance", ssm, line.grid = 100)
Arguments
type |
(optional) Character. Specifies the distance measure used. Acceptable values are "distance", "line", "product", "area", "proddiff", "smoothdiff". |
ssm |
An SSM object. |
line.grid |
(optional). An integer. Specifies the number of points used
in the computation of the distance matrix when |
Details
Implemented types of distance measure are:
"distance"
Standard Euclidean distance."line"
The line integral of the smoothness between design points. This is not implemented for data whered
> 1."product"
The product of the Euclidean distance and the local smoothness at both points."area"
The sum of the local smoothness at the points multiplied by the Euclidean distance."proddiff"
Multiplies the difference in local smoothness between points by the Euclidean distance."smoothdiff"
The difference between the local smoothness of points.
All measures other than "distance"
are experimental and should be
used with caution.
Value
A matrix.