Learn R Programming

⚠️There's a newer version (1.2.0) of this package.Take me there.

data.tree (version 0.1.6)

Hierarchical Data Structures

Description

Create tree structures from hierarchical data, and use the utility methods to traverse the tree in various orders. Aggregate, print, convert to and from data.frame, and apply functions to your tree data. Useful for decision trees, machine learning, finance, and many other applications.

Copy Link

Version

Install

install.packages('data.tree')

Monthly Downloads

30,177

Version

0.1.6

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Christoph Glur

Last Published

April 10th, 2015

Functions in data.tree (0.1.6)

ball

Is Jack playing ball today?
Aggregate

Traverse a Tree and Perform Aggregation Operations
Find

Find a Node by its path
ToDataFrame

Convert a Node to a data.frame
data.tree

Manage Hierarchical Data in R
acme

acme: A Simple Company with Departments
mushroom

Data Used by the ID3 Vignette
Node

Create Trees With Nodes
Sort

Sort Children of a Node or an Entire Tree
as.data.frame.Node

Convert a Node to a data.frame
Set

Traverse a Tree and Assign Values
Get

Traverse a Tree and Collect Values
PrintFixedDecimal

Format a Number as a Decimal
FormatPercent

Format a Number as a Percentage