L2phylo | R Documentation |
Converting a table with speciation and extinction events to a phylogeny
L2phylo(L, dropextinct = T)
L |
Matrix of events as produced by dd_sim: |
dropextinct |
Sets whether the phylogeny should drop species that are extinct at the present |
phy |
A phylogeny of the phylo type |
Rampal S. Etienne
- Etienne, R.S. et al. 2012, Proc. Roy. Soc. B 279: 1300-1309,
doi: 10.1098/rspb.2011.1439
- Etienne, R.S. & B. Haegeman 2012. Am. Nat.
180: E75-E89, doi: 10.1086/667574
sim = dd_sim(c(0.2,0.1,20),10)
phy = L2phylo(sim$L)
plot(phy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.