slice.tree | R Documentation |
Time slicing through a phylogenetic tree.
slice.tree(tree, age, model, FAD, LAD)
tree |
A |
age |
A single |
model |
One of the following models: |
FAD, LAD |
The first and last occurrence data. |
Thomas Guillerme
Guillerme T. & Cooper N. 2018. Time for a rethink: time sub-sampling methods in disparity-through-time analyses. Palaeontology. DOI: 10.1111/pala.12364.
paleotree::timeSliceTree
, chrono.subsets
.
set.seed(1) ## Generate a random ultrametric tree tree <- rcoal(20) ## Add some node labels tree$node.label <- letters[1:19] ## Add its root time tree$root.time <- max(tree.age(tree)$ages) ## Slice the tree at age 0.75 tree_75 <- slice.tree(tree, age = 0.75, "deltran")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.