Function to convert a table with speciation and extinction events to a set of branching times
L2brts.Rd
Converting a table with speciation and extinction events to a set of branching times
Arguments
- L
Matrix of events as produced by dd_sim:
- the first column is the time at which a species is born in Mya
- the second column is the label of the parent of the species; positive and negative values indicate whether the species belongs to the left or right crown lineage
- the third column is the label of the daughter species itself; positive and negative values indicate whether the species belongs to the left or right crown lineage
- the fourth column is the time of extinction of the species; if the fourth element equals -1, then the species is still extant.- dropextinct
Sets whether the phylogeny should drop species that are extinct at the present