distratio {prabclus} | R Documentation |
Calculates the ratio between the prop
smallest and largest
distances of a distance matrix.
distratio(distmat, prop = 0.25)
distmat |
symmetric distance matrix. |
prop |
numerical. Proportion between 0 and 1. |
Rounding is by floor
for small and ceiling
for large
distances.
A list with components
dr |
ratio of prop smallest to prop largest distances. |
lowmean |
mean of prop smallest distances. |
himean |
mean of prop smallest distances. |
prop |
see above. |
Christian Hennig hennig@math.uni-hamburg.de http://www.math.uni-hamburg.de/home/hennig/
Hennig, C. and Hausdorf, B. (2002) Distance-based parametric bootstrap tests for clustering of species ranges, submitted, http://stat.ethz.ch/Research-Reports/110.html.
data(kykladspecreg) # Note: If you do not use the installed package, replace this by # kykladspecreg <- read.table("(path/)kykladspecreg.dat") j <- jaccard(t(kykladspecreg)) distratio(j)