weighted_kulczynski_second {abdiv} | R Documentation |
Weighted Kulczynski distance
Description
The quantitative version of the second Kulczynski index
Usage
weighted_kulczynski_second(x, y)
Arguments
x , y |
Numeric vectors |
Details
The quantitative version of the second Kulczynski index is defined as
d(x, y) = 1 - \frac{1}{2} \left (
\frac{\sum_i \min{(x_i, y_i)}}{\sum_i x_i} +
\frac{\sum_i \min{(x_i, y_i)}}{\sum_i y_i}
\right ).
Relation of weighted_kulczynski_second()
to other definitions:
Equivalent to
vegdist()
withmethod = "kulczynski"
.Equivalent to
structkulczynski
in Mothur.Equivalent to
1 - S_{18}
in Legendre & Legendre.
Value
The weighted Kulczynski distance between x
and y
. The
distance is undefined if the sum of x
or the sum of y
is
zero, in which case we return NaN
.
[Package abdiv version 0.2.0 Index]