child | R Documentation |
access child data
child(.data, .node, ...)
## S3 method for class 'tbl_tree'
child(.data, .node, ...)
.data |
phylo or tbl_tree object |
.node |
node number |
... |
additional parameters |
child data
Guangchuang Yu
library(ape)
tree <- rtree(4)
x <- as_tibble(tree)
child(x, 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.