View source: R/hier_nodenames.R
hier_nodenames | R Documentation |
This function allows to extract the all the names of the nodes including all (sub)-nodes and leaves in the given hierarchy.
hier_nodenames(tree, root = NULL)
tree |
a (nested) hierarchy created using |
root |
(character) name of start node from which all lower level-names should be returned |
h <- hier_create(root = "Total", nodes = LETTERS[1:3])
h <- hier_add(h, root = "A", nodes = c("a1", "a5"))
hier_nodenames(h)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.