Description Usage Arguments Value
Creates a matrix to be used for calculating distances. The most recent 'element' is put in the first row of the matrix, the second most recent 'element' in the second row and so on. Therefore, the oldest 'element' is put in the last row.
1 | knn_elements(y, d)
|
y |
A matrix. |
d |
Length of each of the 'elements'. |
A matrix to be used for calculating distances.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.