knn()
returns a sample based on knn scheme
1 | kNearestNeigboors(x, k, s)
|
x |
is the prior value selected |
k |
is the number of nearest points |
s |
is the vector to sample from |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.