Learn R Programming

poolABC (version 1.0.0)

D.stat: 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)

Value

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

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.