pbd_sim(
pars,
age,
soc = 2
)pars[1] corresponds to b_1, the speciation-initiation rate of good species
pars[2] corresponds to la_1, the speciation-completion rate
pars[3] corresponds to b_2, the speciation-initiation rpbd_sim_cpppbd_sim(c(0.2,1,0.2,0.1,0.1),15)Run the code above in your browser using DataLab