# NOT RUN {
age<-2
lambda <- 2.0
mu <- 0.5
frac <-0.6
numbsim<-3
##
# Simulating trees with time age since the origin:
sim.bd.age(age,numbsim,lambda,mu,mrca=FALSE,complete=TRUE)
# }
# NOT RUN {
<!-- % sim.bd.age(age,numbsim,lambda,mu,frac,mrca=FALSE,complete=FALSE) -->
# }
# NOT RUN {
# }
# NOT RUN {
<!-- % # Simulating trees with time age since the time of the most recent common -->
# }
# NOT RUN {
<!-- % # ancestor of the extant and sampled species: -->
# }
# NOT RUN {
# }
# NOT RUN {
<!-- % sim.bd.age(age,numbsim,lambda,mu,mrca=TRUE,complete=TRUE) -->
# }
# NOT RUN {
<!-- % sim.bd.age(age,numbsim,lambda,mu,frac,mrca=TRUE,complete=FALSE) -->
# }
Run the code above in your browser using DataLab