D.stat {poolABC}R Documentation

calculate D-statistic

Description

Computes the value of the D-statistic given the values of the two particular allelic patterns.

Usage

D.stat(ABBA, BABA)

Arguments

ABBA

is a numeric vector with the values for the ‘ABBA’ allelic pattern.

BABA

is a numeric vector with the values for the ‘BABA’ allelic pattern.

Value

a numeric value representing the D-statistic value for a particular conformation of the populations.


[Package poolABC version 1.0.0 Index]