hier_codes | R Documentation |
hier_codes()
returns the standardized codes for the nodes of a tree.
hier_codes(tree)
tree |
a (nested) hierarchy created using |
a named character vector with names being the node-names and the values the standardized codes
h <- hier_create(root = "Total", nodes = LETTERS[1:3])
h <- hier_add(h, root = "A", nodes = c("a1", "a5"))
hier_codes(h)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.