Description Usage Arguments Value Examples
This function will return the euclidean distance between an individual and others .
1 | get_distance(tab, infos, ind, k)
|
tab |
A data.table object containing the clustering data. |
infos |
A data.table object containing the clusters and results at the exam. |
ind |
A character indicating the userid number of the individual you want to compare to others. |
k |
A numeric indicating how much nearest neighbours you want to keep. |
A dataset with the k-nearest neighbours.
1 | get_distance(tab)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.