Learn R Programming

GeneralTree (version 0.0.1)

treeDepth: Get the depth of a tree.

Description

Get the depth of a tree.

Usage

treeDepth(self, private)

Arguments

self
The node that refers to the tree.
private
The private members of a node.

Value

A numeric value that indicates the number of layers in the tree.