Description Usage Arguments Value Examples
Convert a data tree object to a long format data frame
1 | tree_to_df(tree, ...)
|
tree |
the data tree object |
... |
the attributes to be added as columns in the data frame |
A long format data frame
1 2 3 4 5 | ## Not run:
# Convert the employee.tree to a long format data frame with Age and Education attribute variables
tree_to_df(employee.tree, "Age", "Education")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.