nn {prabclus} | R Documentation |
Mean distance to kth nearest neighbor
Description
Computes the mean of the distances from each point to its ne
th
nearest neighbor.
Usage
nn(distmat, ne = 1)
Arguments
distmat |
symmetric distance matrix (not a |
ne |
integer. |
Value
numerical.
Author(s)
Christian Hennig christian.hennig@unibo.it https://www.unibo.it/sitoweb/christian.hennig/en
References
Hennig, C. and Hausdorf, B. (2004) Distance-based parametric bootstrap tests for clustering of species ranges. Computational Statistics and Data Analysis 45, 875-896.
See Also
Examples
data(kykladspecreg)
j <- jaccard(t(kykladspecreg))
nn(j,4)
[Package prabclus version 2.3-3 Index]