Description Usage Arguments Value
View source: R/data_generation.R
Walks the tree in pre-order extracting the index of the parent for each structure.
1 | parent_index(tree)
|
tree |
The tree of interest |
An integer vector with parent indices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.