Description Usage Arguments Details Value Author(s) Examples
Calculate the scalar distance between elements of a matrix.
1 | scalar.dist(x, ...)
|
x |
A vector of numeric values. |
... |
Additional arguments, not used at this time. |
Take the absolute difference between all elements in a vector, and return a matrix of the distances.
a matrix object
Jake Bowers, http://jakebowers.org/, Cole Beck
1 | scalar.dist(1:10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.