Description Usage Arguments Value
View source: R/data_generation.R
Take a vector of node names and return their index according to a tree walked in pre-order.
1 | node_numbers(x, tree)
|
x |
a vector of node names |
tree |
a tree to get the index from |
a vector with length x containing the node indices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.