Description Usage Arguments Details Examples
Given a btree, produce a vector of strings indicating the directed steps to take starting at the root to get to each node
1 | btree_paths(btree)
|
btree |
A btree |
Returns a character vector whose values correspond to each node in the btree
1 2 3 | library(data.table)
mytree <- data.table(NodeId=c(1, 2, 3), ParentNodeId=c(NA, 1, 1))
btree_paths(mytree)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.