Skip to contents

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

Usage

nn_bootstrap_uncertainty(estimate, scenario = "DDD", n = 100, timeout = 30)

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

Value

results_NN

A data frame with the following columns:
lambda : Speciation rate
mu : Extinction rate
cap : Carrying capacity (Only for DDD)

Author

Tianjian Qin