make.bfctlf: Prepare mcmctree or bpp control files for marginal likelihood...

Description Usage Arguments Details Author(s) References See Also

View source: R/marginal-lhd.R

Description

Prepare mcmctree or bpp control files for marginal likelihood calculation

Usage

1
make.bfctlf(beta, ctlf = "mcmctree.ctl", betaf = "beta.txt")

Arguments

beta

numeric vector of beta values

ctlf

character, mcmctree control file template

betaf

character, file onto which to write selected beta values

Details

This function generates a set of n directories each containing a modified ctlf control file with the appropriate beta value to run mcmctree (or bpp) to obtain MCMC samples under the required power-posterior distribution. For the general theory of marginal likelihood calculation with power posteriors see Yang (2014).

The beta values are printed to betaf.

Author(s)

Mario dos Reis

References

Yang Z (2014) Molecular Evolution: A Statistical Approach. Oxford University Press. Pages 256–260.

See Also

make.beta, stepping.stones


dosreislab/mcmc3r documentation built on Oct. 20, 2018, 2:41 a.m.