multistate | R Documentation |
These functions provide wrappers to BayesMultiState
in the BayesTraits package written by Mark Pagel and Andrew Meade.
multistateML(phy, traits, model = "ARD", anc.states = TRUE,
path = "/Applications/BayesTraits", dir = NULL)
multistateMCMC(phy, traits, model = "ARD", anc.states = TRUE,
rd = 2, rjhp = NULL, fixNodes = NULL, it = 1e+05, bi = 10000,
sa = 1000, path = "/Applications/BayesTraits", dir = NULL)
phy |
an object of class |
traits |
a |
model |
a character string to select a model of rate evolution. One of |
anc.states |
either |
rd |
a real number, giving the |
rjhp |
a character string giving the details of priors and hyperpriors for the reversible jump MCMC (rjMCMC). If left |
fixNodes |
a list giving fixed character states of certain internal nodes. This argument corresponds to the |
it |
numeric, sets the number of iterations to run the MCMC for. |
bi |
numeric, sets the number of iterations of the MCMC that will be discarded as burn-in. |
sa |
numeric, sets the the sample period in the MCMC. |
path |
a character string giving the path to executables in the BayesTraits package. |
dir |
a character string giving a directory name where the input and output files will be stored. The directory will be created by |
Christoph Heibl
The BayesTraits manual: http://www.evolution.reading.ac.uk/BayesTraitsV4.1.1/Files/BayesTraitsV4.1.1-Manual.pdf.
Pagel, M., A. Meade, and D. Barker. 2004. Bayesian estimation of ancestral character states on phylogenies. Syst. Biol. 53: 673-684.
Pagel, M. and A. Meade. 2006. Bayesian analysis of correlated evolution of discrete characters by reversible-jump Markov chain Monte Carlo. Am. Nat. 167: 808-825.
ace
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.