# weighted_kulczynski_second: Weighted Kulczynski distance In kylebittinger/abdiv: Alpha and Beta Diversity Measures

## Description

The quantitative version of the second Kulczynski index

## Usage

 1 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} ≤ft ( \frac{∑_i \min{(x_i, y_i)}}{∑_i x_i} + \frac{∑_i \min{(x_i, y_i)}}{∑_i y_i} \right ).

Relation of weighted_kulczynski_second() to other definitions:

• Equivalent to vegdist() with method = "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.

kylebittinger/abdiv documentation built on Jan. 31, 2020, 3:13 p.m.