Description Usage Arguments Value Examples
Computes the Chebyshev distance between n points in m dimensions ,or two points with same dimensions.
1 | chebyshev(x, y, output = "matrix")
|
x |
Numeric vector, or a matrix with size n x m. |
y |
(optional)Numeric vector; must be the same length as x. If no input of y, please specify all other parameters to avoid confusion. |
output |
Format of output, either matrix or dist object. Default is matrix. |
Chebyshev distance matrix or object calculated by max(abs(x - y)) between points
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.