create_tree | R Documentation |
create tree appended with each element of input list as a child
create_tree(input_list, node_name)
input_list |
input list to be made for a tree |
node_name |
name of the tree |
a tree with each item of the list as each child
data("test_df")
test_node <- data.tree::as.Node(test_df)
new_shape <- create_tree(test_node$children,"new_tree")
print(new_shape, "hc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.