powered by
Calculates the ratio between the prop smallest and largest distances of a distance matrix.
prop
distratio(distmat, prop = 0.25)
A list with components
ratio of prop smallest to prop largest distances.
mean of prop smallest distances.
see above.
symmetric distance matrix.
numerical. Proportion between 0 and 1.
Christian Hennig christian.hennig@unibo.it https://www.unibo.it/sitoweb/christian.hennig/en
Rounding is by floor for small and ceiling for large distances.
floor
ceiling
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
options(digits=4) data(kykladspecreg) j <- jaccard(t(kykladspecreg)) distratio(j)
Run the code above in your browser using DataLab