powered by
Calculate the number of expected hidden nodes using equation 1 in Manceau et al. 2020
calc_expected_hidden_nodes(phy, lambda = NULL, mu = NULL)
expected number of hidden nodes
phylogenetic tree
birth rate
death rate
Manceau, M., Marin, J., Morlon, H., & Lambert, A. (2020). Model-based inference of punctuated molecular evolution. Molecular Biology and Evolution, 37(11), 3308-3323.