| rename_tips | R Documentation | 
Helper function to rename tips of trees for simulations
rename_tips(tree, names)
tree | 
 an object of class "phylo".  | 
names | 
 (character) vector of new names. Length must be equal to number of tips. They will be assigned in the order given.  | 
Tree of class "phylo" with specified names
# a simple tree
data("tree5", package = "nichevol")
# renaming tips
renamedTree <- rename_tips(tree5, c("a", "b", "c", "d", "e"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.