kNNCoords | R Documentation |
Internally, this does not use FNN::get.knn()
anymore.
kNNCoords(
k = 4,
dim = NULL,
dist.method = NULL,
distFn = function(x) x,
layoutFn = igraph::layout_with_kk
)
k |
Size of the neighborhoods (default 4) |
dim |
Dimension of the result (passed to |
dist.method |
The method to compute distances, passed to |
distFn |
Custom transformation function of the distance matrix |
layoutFn |
iGraph-compatible graph layouting function (default igraph::layout_with_kk) |
a function that transforms the map, usable as coordsFn
parameter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.