Description Usage Arguments Value
This function allows users to easily and dynamically explore or document a dataset using a tree structure.
1 | build_tree(data, tree.dir = "LR", tree.height = NULL, tree.width = NULL)
|
data |
A muir-generated data frame to be processed into a tree using DiagrammeR |
tree.dir |
Direction of tree graph. Use either "LR" for left-to-right, "RL" for right-to left, "TB" for top-to-bottom, or "BT" for bottom-to-top. |
tree.height |
Control tree height to zoom in/out on nodes. Defaults to NULL |
tree.width |
Control tree width to zoom in/out on nodes. Defaults to NULL |
An object of class htmlwidget
(via DiagrammeR)that will
intelligently print itself into HTML in a variety of contexts
including the R console, within R Markdown documents,
and within Shiny output bindings.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.