create_tree | R Documentation |
treeInput()
Create choice structure for treeInput()
create_tree(data, levels = names(data), levels_id = NULL, ...)
data |
A |
levels |
Variables identifying hierarchical levels, values of those variables will be used as text displayed. |
levels_id |
Variable to use as ID for nodes. Careful! Spaces are not allowed in IDs. |
... |
Addtional arguments. |
a list
that can be used in treeInput()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.