This function prints the labels of the nodes of a tree, and displays the connections between these nodes.
# S3 method for rtree
print(x, at = NULL, level = 1L, ...)
A tree.
character. If not NULL
, the name of an attribute of the nodes of x
to be printed next to the node labels.
integer. This argument is used internally by the function, should not be used directly.
Additional parameters (not used).
x
is return invisibly.
For examples using the at
argument,
see tree_apply
.