Computes the value for the ‘BABA’ allelic pattern.
baba(p1, p2, p3)
a numeric vector with one value per site of the locus.
is a numeric vector with the allele frequencies for population 1. Each entry of the vector should be a different site.
is a numeric vector with the allele frequencies for population 2. Each entry of the vector should be a different site.
is a numeric vector with the allele frequencies for population 3. Each entry of the vector should be a different site.