oak (version 0.2.1)

print.rtree: Print trees

Description

This function prints the labels of the nodes of a tree, and displays the connections between these nodes.

Usage

# S3 method for rtree
print(x, at = NULL, level = 1L, ...)

Arguments

x

A tree.

at

character. If not NULL, the name of an attribute of the nodes of x to be printed next to the node labels.

level

integer. This argument is used internally by the function, should not be used directly.

...

Additional parameters (not used).

Value

x is return invisibly.

See Also

For examples using the at argument, see tree_apply.