f81(Double[] freq, Number meanRate)

The F81 instantaneous rate matrix. Takes base frequencies and produces an F81 rate matrix.

Parameters

  • Double[] freq - the base frequencies.
  • Number meanRate - (optional) the mean rate of the process. default = 1.0

Return type

Double[][]

Examples

  • f81Coalescent.lphy

Reference

Felsenstein, J. (1981). Evolutionary trees from DNA sequences: a maximum likelihood approach. Journal of molecular evolution, 17(6), 368-376.https://doi.org/10.1007/BF01734359