| checkrates | R Documentation |
Recomputes the Yule and coalescent branching rates for every retained MCMC sample. GMYC assumes the two processes act on very different time scales (roughly an order of magnitude apart); if the rates are similar, the threshold is indistinct and results unreliable.
checkrates(result)
result |
A |
Object of class "bgmycrates": matrix with columns p.div, p.coal,
threshold, lambda.div, lambda.coal, lambda.div.mod. The last is
lambda.div * t^p.div / t, i.e. the fold change in speciation rate from
the root to the last speciation event (Reid & Carstens 2012).
set.seed(123)
data(east10)
res <- bgmyc.singlephy(east10[[1]], mcmc = 100, burnin = 10, thinning = 10)
rates <- checkrates(res)
plot(rates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.