calc_expected_hidden_nodes: Calculate the number of expected hidden nodes in a...

View source: R/calc_rel_contr_node_time.R

calc_expected_hidden_nodesR Documentation

Calculate the number of expected hidden nodes in a phylogenetic tree

Description

Calculate the number of expected hidden nodes using equation 1 in Manceau et al. 2020

Usage

calc_expected_hidden_nodes(phy, lambda = NULL, mu = NULL)

Arguments

phy

phylogenetic tree

lambda

birth rate

mu

death rate

Value

expected number of hidden nodes

References

Manceau, M., Marin, J., Morlon, H., & Lambert, A. (2020). Model-based inference of punctuated molecular evolution. Molecular Biology and Evolution, 37(11), 3308-3323.


thijsjanzen/nodeSub documentation built on Nov. 15, 2023, 2:44 p.m.