LBFmt: log Bayes factors for migrate-n model selection.

Description Usage Arguments Note Author(s) References See Also Examples

Description

This function calculates the log Bayes factor for each migrate-n analyses and creates a matrix with the log BF values of each model.

Usage

1
LBFmt(mat, lestimate="Bezier")

Arguments

mat

a matrix returned by function Lmmat.

lestimate

a value indicating the likelihood estimate. It can be: (1) "Thermo" for Raw Thermodynamic score; (2) "Bezier" (the default) for Bezier approximated score; or (3) "Hmean" for Harmonic mean.

Note

function based on formula LBF= 2(ln mL (model 1) - ln mL (model 2) ) at "https://molevol.mbl.edu/index.php/Migrate_tutorial_2015"

Author(s)

Lizandro N. Peraza-Flores

References

Beerli, P. & Felsenstein, J. (2001) Maximum likelihood estimation of a migration matrix and effective population sizes in n subpopulations by using a coalescent approach. Proceedings of the National Academy of Sciences, 98, 4563–4568.

Beerli, P. & Palczewski, M. (2010) Unified framework to evaluate panmixia and migration direction among multiple sampling locations. Genetics, 185, 313–326.

See Also

BFmt, Pmmt

Examples

1
# load example data:

lizandropf/mtools documentation built on May 21, 2019, 7:33 a.m.