tree_to_df: Convert a data tree object to a long format data frame

Description Usage Arguments Value Examples

View source: R/tree_to_df.R

Description

Convert a data tree object to a long format data frame

Usage

1
tree_to_df(tree, ...)

Arguments

tree

the data tree object

...

the attributes to be added as columns in the data frame

Value

A long format data frame

Examples

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)

nzjessica/treevis documentation built on June 27, 2020, 1:20 a.m.