nn {prabclus} | R Documentation |
Computes the mean of the distances from each point to its ne
th
nearest neighbor.
nn(distmat, ne = 1)
distmat |
symmetric distance matrix (not a |
ne |
integer. |
numerical.
Christian Hennig chrish@stats.ucl.ac.uk http://www.homepages.ucl.ac.uk/~ucakche
Hennig, C. and Hausdorf, B. (2004) Distance-based parametric bootstrap tests for clustering of species ranges. Computational Statistics and Data Analysis 45, 875-896.
data(kykladspecreg) j <- jaccard(t(kykladspecreg)) nn(j,4)