Description Usage Arguments Note Author(s) References See Also Examples
This function calculates the log Bayes factor for each migrate-n analyses and creates a matrix with the log BF values of each model.
1 | LBFmt(mat, lestimate="Bezier")
|
mat |
a matrix returned by function |
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. |
function based on formula LBF= 2(ln mL (model 1) - ln mL (model 2) ) at "https://molevol.mbl.edu/index.php/Migrate_tutorial_2015"
Lizandro N. Peraza-Flores
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.
1 | # load example data:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.