Function to bootstrap the uncertainty of the EvoNN estimates
nn_bootstrap_uncertainty.Rd
Generates posterior distributions of the speciation rate, extinction rate, and carrying capacity (DDD) of a phylogenetic tree by bootstrapping the tree and estimating the parameters using EvoNN
Arguments
- estimate
The EvoNN estimate of the speciation rate, extinction rate, and carrying capacity (DDD)
- scenario
The diversification scenario:
"BD"
: Birth-death diversification"DDD"
: Diversity-dependent diversification- n
The number of bootstrap iterations
- timeout
The maximum time in seconds for each iteration