View source: R/expansions_infer.R
run_expansion_inference | R Documentation |
Run rjmcmc inference on the provided phylogeny and supplied priors This is the standard method for mcmc expansion inference.
run_expansion_inference(
phy,
priors,
concentration = 1,
n_it = 1e+06,
thinning = 1,
init = NULL
)
phy |
phylogeny to run inference on |
priors |
a list of prior likelihoods and sampling functions with names 'prior_i', 'prior_i.sample', 'prior_N', 'prior_N.sample', 'prior_t_mid_given_N', 'prior_t_mid_given_N.sample', 'prior_K_given_N', 'prior_K_given_N.sample', 'prior_t_given_N', 'prior_t_given_N.sample'. See 'standard_priors' for details. |
concentration |
concentration parameter for the dirichlet prior on expansion membership probabilities |
n_it |
number of MCMC iterations |
thinning |
mcmc output thinning |
init |
initial state for the mcmc chain |
list with names 'phylo_preprocessed', the preprocessed phylogeny, and 'mcmc_out' a list of MCMC states
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.