show,Tree-method | R Documentation |
Custom show method for objects of class Tree
. It presents a structured
representation of the tree using a specific format.
## S4 method for signature 'Tree'
show(object)
object |
An object of class |
Each node of the tree is displayed with its depth, name, and associated twin attributes. Node presentation differs based on its type and position within the tree structure:
Prefix "Z : " is used for the first node of the tree.
Prefix "X : " denotes a leaf node.
Prefix "Y : " indicates a non-leaf node.
If a tree has no attributes, it displays "*** Tree without attributes ***".
This function is invoked for its side effect of showing a structured display of the tree. It does not return anything explicitly.
print.Tree
: For printing a Tree object.
Tree-class
: For the Tree class definition.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.