kulczynski {prabclus} | R Documentation |
Computes Kulczynski distances between the columns of a 0-1-matrix.
kulczynski(regmat)
regmat |
0-1-matrix. Columns are species, rows are regions. |
The Kulczynski distance between two species is 1-(mean of (number of regions where both species are present)/(number of regions where species 1 is present) and (number of regions where both species are present)/(number of regions where species 2 is present)).
A symmetrical matrix of Kulczynski distances.
Christian Hennig hennig@math.uni-hamburg.de http://www.math.uni-hamburg.de/home/hennig/
data(kykladspecreg) # Note: If you do not use the installed package, replace this by # kykladspecreg <- read.table("(path/)kykladspecreg.dat") kulczynski(t(kykladspecreg))