lineij {SSM} | R Documentation |
Average the values in a vector between two cutoff points specified by a separate vector.
Description
The values of smoothnessdesign
that are in the interval specifed by
x
are identified and the associated values in smoothness
are
averaged. This is used in the computation of line integrals of smoothness
used by a particular distance measure when computing metamodel error
estimates.
Usage
lineij(x, smoothness, smoothnessdesign)
Arguments
x |
A vector of length two. Specifies the endpoints of the desired interval of integration. |
smoothness |
A numeric vector. |
smoothnessdesign |
A numeric vector of the same length as
|
Value
A number.
[Package SSM version 1.0.1 Index]