powered by
This function is meant to be used inside fastPointMetrics. It calculates metrics for every point using its nearest neighbors (KNN).
fastPointMetrics
ptm.knn(k = 20, r = 0)
numeric - number of nearest points to search per neighborhood.
numeric
numeric - search radius limit. If r == 0, no distance limit is applied.
r == 0