create_tree | R Documentation |
Create a tree with integer id.
create_tree(specs, root = 1L)
specs |
List of tree specs. |
root |
Integer identifying the integer, default is 1. |
Create a tree with integer id and level in a third column.
Dataframe with tree.
specs <- list(
l1 = list(digits = 100, nnodes = 9),
l2 = list(digits = 100, nnodes = 19),
l3 = list(digits = 100, nnodes = 29))
create_tree(specs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.