10.9 The d() function

admixr computes the \(D\) statistic in a function called d().

?d

As input, d() asks for:

  • Data object in EIGENSTRAT format
  • Four population names (W, X, Y, Z) to calculate D between