create_tree {shinyWidgets} | 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()
.