View source: R/dispRity.utilities.R
add.tree | R Documentation |
Adding, extracting or removing the tree component from a dispRity
object
add.tree(data, tree) get.tree(data) remove.tree(data)
data |
A |
tree |
A |
Thomas Guillerme
custom.subsets
, chrono.subsets
, boot.matrix
, dispRity
.
## Loading a dispRity object data(disparity) ## Loading a tree data(BeckLee_tree) ## Removing the tree from the dispRity object (tree_data <- remove.tree(disparity)) ## Extracting the tree get.tree(tree_data) # is null ## Adding a tree to the disparity object tree_data <- add.tree(tree_data, tree = BeckLee_tree) ## Extracting the tree get.tree(tree_data) # is a "phylo" object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.