print-Tree-method: Print Method for Tree Class Objects

print,Tree-methodR Documentation

Print Method for Tree Class Objects

Description

Custom print method for objects of class Tree. This method prints out basic information about the tree, such as the root name, number of attributes, number of leaves, depth, and details about specific nodes.

Usage

## S4 method for signature 'Tree'
print(x, ...)

Arguments

x

An object of class Tree that you want to print.

...

Additional arguments to be passed to the underlying print function, though they might not have any effect in this custom print method.

Value

This function is invoked for its side effect of printing. It does not return anything.

See Also

  • Tree-class: For the Tree class definition.

  • show.Tree: For showing a Tree object.

  • describe.Tree: For describing a Tree object.


dexisensitivity documentation built on Oct. 30, 2024, 1:08 a.m.