Computes Kulczynski distances between the columns of a 0-1-matrix.
Usage
kulczynski(regmat)
Arguments
regmat
0-1-matrix. Columns are species, rows are regions.
Value
A symmetrical matrix of Kulczynski distances.
Details
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)).
data(kykladspecreg)
# Note: If you do not use the installed package, replace this by# kykladspecreg <- read.table("(path/)kykladspecreg.dat")kulczynski(t(kykladspecreg))