powered by
Computes the mean of the distances from each point to its neth nearest neighbor.
ne
nn(distmat, ne = 1)
numerical.
symmetric distance matrix (not a dist-object).
dist
integer.
Christian Hennig christian.hennig@unibo.it https://www.unibo.it/sitoweb/christian.hennig/en
Hennig, C. and Hausdorf, B. (2004) Distance-based parametric bootstrap tests for clustering of species ranges. Computational Statistics and Data Analysis 45, 875-896.
prabtest
data(kykladspecreg) j <- jaccard(t(kykladspecreg)) nn(j,4)
Run the code above in your browser using DataLab