dlevene: Calculate Levene's exact density for k alleles
Description
Function dlevene calculates Levene's exact density for a diploid
system with k alleles.
Usage
dlevene(N)
Arguments
N
A lower triangular matrix with genotype counts
Value
a single real number
Details
The supplied matrix of genotype counts should be triangular, with the
homozygote counts on the diagonal, and all heterozygote counts below
the diagonal.
References
Levene, H. (1949) On a matching problem arising in genetics. Annals of
Mathematical Statistics, 20, pp. 91-94.