This function provides a summary of an object of class event_tree. It outputs key information about the nodes and edges of the event tree, including the number of nodes and edges, unique levels and labels, and the labels of the edges (with newlines replaced by spaces).
Usage
# S3 method for event_tree
summary(object, ...)
Value
Prints a summary of the event tree to the console, including:
The number of nodes and the unique node levels
The number of edges and the unique labels in the edges
The labels of the edges, with newlines replaced by spaces
Arguments
object
An object of class event_tree. This object should have a list structure with eventtree containing a nested list where x is a dataframe with nodes and edges attributes.
...
Additional arguments passed to or from other methods (ignored).