print.rtree: Print trees

Description Usage Arguments Value See Also

Description

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

Usage

1
2
## S3 method for class '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.


paulponcet/oak documentation built on May 14, 2019, 7:21 p.m.