dnSSBDP - Sampled-speciation birth-death process
| rootAge : | RealPos (pass by const reference) |
| The age of the root. | |
| lambda : | RealPos (pass by const reference) |
| The vector of speciation rates. | |
| mu : | RealPos (pass by const reference) |
| The vector of extinction rates. | |
| rho : | Probability (pass by const reference) |
| The taxon sampling probability. | |
| taxa : | Taxon[] (pass by value) |
| The taxa used for simulation. |
# draw basic process parameters
taxa <- [taxon("A"), taxon("B"), taxon("C"), taxon("D"), taxon("E")]
root_age ~ dnUniform(0, 2)
lambda ~ dnUniform(0, 1)
mu ~ dnUniform(0, 1)
rho <- 1
# simulate tree
tree ~ dnSSBDP(rootAge = root_age,
lambda = lambda,
mu = mu,
rho = rho,
taxa = taxa)