BFmt: Matrix creation for Bayes factor model selection.

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

Description

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

Usage

1
BFmt(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 BF= Exp(ln mL (model 1) - ln mL (model 2) ) from migrate-n output suggestions

Author(s)

L.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

LBFmt, Pmmt

Examples

1
# load example data:

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