Description Usage Arguments Details Value Examples
Find closest point(s) in a design matrix or object.
1 |
X |
A matrix containing design points as rows or a
|
XNew |
A vector or matrix containing one or several 'new' design points. |
... |
Other arguments for methods. |
When X
has class "Grid"
weighting the factors
has no impact on the (or a) closest point since for each factor
there is normally one (and possibly two) level value(s) which
minimises the distance to the corresponding value in the given new
point (row) of XNew
.
A list with elements
index |
Integer vector with length equal to the number of 'new' points. Contains
the index of the closest point in |
value |
Matrix with one row for each 'new' design point containing the
closest point as found in |
dist |
Numeric vector with length equal to the number of 'new' points. Contains the minimal distances. |
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.