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
)
a function that transforms the map, usable as coordsFn
parameter
Size of the neighborhoods (default 4)
Dimension of the result (passed to layoutFn
)
The method to compute distances, passed to stats::dist()
as parameter method
Custom transformation function of the distance matrix
iGraph-compatible graph layouting function (default igraph::layout_with_kk)