Extension of the coalescent.intervals function in ape. Takes a phylogeny (class phylo) as input and returns a coalescentIntervals object, which lists the interval lengths, in backwards time, along with the number of lineages during each of those intervals. Contrary to the ape function, this can deal with multifurcations, as well as serially-sampled (non-ultrametric) trees.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.