set.seed(42) trees <- TreeSim::sim.bd.age( age = 10, numbsim = 2, lambda = 0.2, mu = 0.0, complete = FALSE ) ape::plot.phylo(trees[[1]]) gammas <- rep(NA, length(trees)) for (i in seq_along(trees)) { gammas[i] <- ape::gammaStat(trees[[i]]) } gammas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.