Aggregate child values of a Node
, recursively.
Check if a Node
is not a leaf
Test whether all node names are unique.
Create a tree for demo and testing
Determine the number a Node
has after conversion to a phylo object
NODE_RESERVED_NAMES_CONST
Names that are reserved by the Node class.
Clone a tree (creates a deep copy)
Convert a data.tree
structure to a data.frame
Convert an rpart
object to a data.tree
structure Print a Node
in a human-readable fashion.
Sample Data: Data Used by the ID3 Vignette
Register a method for a suggested dependency
Find a node by name in the (sub-)tree
Executes a function on a set of nodes
Format a Number as a Decimal
Prunes a tree.
Checks whether name
is a reserved word, as defined in NODE_RESERVED_NAMES_CONST
.
Get an attribute from a Node.
Format a Number as a Percentage
Write a data.tree
structure to Newick notation
Sample Data: A Simple Company with Departments
Traverse a tree or a sub-tree
Convert a a SplitNode
from the party package to a data.tree
structure.
Calculate the average number of branches each non-leaf has
Convert an object to a data.tree
data structure
Reverts the sort order of a Node
's children.
Convert a data.frame
to a data.tree
structure
Convert a Node
to a dendrogram
data.tree: Hierarchical Data Structures
Convert a nested list
structure to a data.tree
structure
Convert a dendrogram
to a data.tree Node
Convert a data.tree
structure to an igraph network
Convert a data.tree
structure to a list-of-list structure
Sort children of a Node
or an entire data.tree
structure
Convert a Node
to a phylo object from the ape package.
Convert a phylo
object from the ape package to a Node
Convert a a party
from the partykit package to a data.tree
structure.
Climb a tree from parent to children, by provided criteria.
Create a data.tree
Structure With Nodes
Plot a graph, or get a graphviz dot representation of the tree
Navigate to another node by relative path.
Check if a Node
is not a root
Check if a Node
is the root
Cumulate values among siblings
Create a tree for demo and testing
Calculates the height of a Node
given the height of the root.
Find the distance between two nodes of the same tree
Set a formatter function on a specific node
Traverse a Tree and Assign Values
Check if a Node
is a leaf
Traverse a Tree and Collect Values