R script to quantify the number and timing of speciation events between extant sister species for the Quaternary and pre-Quaternary (Neogene + Paleogene) periods on a posterior sample of time-calibrated phylogenies. The code can be modified to accommodate older periods if necessary. The file "my_trees.nex" is a generic example that refers to any file including a posterior distribution of trees