This R program runs a stochastic simulation of the FLP in 100 populations for 500 generations and then plots results at generation 500 (fig. 4D). See Appendix A for the equations used in this program
R scripts used for : - simulation of trees under the five diversification scenarios and computation of the global error (directory Simulation) - analysis of the frogs' phylogeny (directory Frogs_analy