setAge | R Documentation |
Return a tree with the age altered.
setAge(tree, val)
tree |
|
val |
new age |
Use this function to change the age of a tree. For example, you might want to convert the tree so that its age equals 1. This function will achieve that by modiyfing every branch, while maintaining their relative lengths.
setPD
https://github.com/DomBennett/treeman/wiki/set-methods
tree <- randTree(10)
tree <- setAge(tree, val = 1)
summary(tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.