Description Usage Arguments Examples
Print out the tree with selected attribute variables up to a certain level.
1 | display.dt(tree, ..., levels.shown = tree[["height"]])
|
tree |
the data tree object to be printed |
... |
attribute variables or arguments to be passed on |
levels.shown |
a numeric value indicating which hierarchy level of the tree to print up to |
1 2 3 4 5 6 7 8 9 | ## Not run:
data(employee)
employee.tree = createTree(employee, "Employee Information",
c("Department", "JobRole", "EmployeeNumber"))
# display the employee.tree with selected attribute variables up to the third level
display.dt(employee.tree, 3, "Age", "MonthlyIncome", "Attrition")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.