Learn R Programming

prabclus (version 2.0-2)

kulczynski: Kulczynski distance matrix

Description

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)).

See Also

jaccard, geco,qkulczynski

Examples

Run this code
data(kykladspecreg)
# Note: If you do not use the installed package, replace this by
# kykladspecreg <- read.table("(path/)kykladspecreg.dat")
kulczynski(t(kykladspecreg))

Run the code above in your browser using DataLab