hardy.weinberg function

Computes Hardy-Weinberg frequencies for a multiallelic locus or across multiple loci