posterior_lambda_KDE {ontophylo} | R Documentation |
Get analytical posterior
Description
Calculates the required statitics for the posterior distribution of number of state changes across all branches of all trees.
Usage
posterior_lambda_KDE(tree.list)
Arguments
tree.list |
multiSimmap object. |
Value
A list with mean ($Mean), standard deviation ($SD), and 95HPD interval ($Q_2.5 and $Q_97.5) calculated for the posterior distribution.
Author(s)
Sergei Tarasov
Examples
data("hym_stm_amalg")
# Get a sample of ten stochastic maps from head.
tree_list <- hym_stm_amalg$head
tree_list <- merge_tree_cat_list(tree_list[1:10])
# Calculate posterior poisson statistics.
posterior_lambda_KDE(tree_list)
[Package ontophylo version 1.1.3 Index]