mcmc.summary | R Documentation |
Create an MCMC summary from a BPP or MCMCTree analysis
mcmc.summary(mcmc, prob = 0.95)
mcmc |
Data frame with the MCMC output of BPP or MCMCTree |
prob |
Numeric, probability for credibility interval calculation |
mcmc
should contain the output (say from file
mcmc.txt
) generated by a BPP A00 or MCMCtree analysis. The function
will calculate the posterior (prior) means, the equal-tail credibility
interval (CI), and the highest posterior (prior) density (HPD) CI. prob
is
used to calculate the CIs. For example, if prob
= 95
95
A list with elements means
, eq.ci
, and hpd.ci
containing the posterior (or prior) means, equal tail CI and HPD CI.
Mario dos Reis
## Not run:
mcmc.summary(hominids$mcmc[,-1])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.