a list containing arguments to inner_panel.

header_panel

a panel function for printing the header.

footer_panel

a panel function for printing the footer.

digits

number of digits to be printed.

header

header to be printed.

footer

footer to be printed.

FUN

a function to be applied to nodes.

root

a logical. Should the root count be counted in depth?

ids

a vector of node ids (or their names) to be pruned-off.

...

additional arguments.

Details

length gives the number of nodes in the tree (in contrast
to the length method for partynode objects which
returns the number of kid nodes in the root),
depth the depth of the tree and width
the number of terminal nodes. The subset methods extract subtrees
and the print method generates a textual representation
of the tree. nodeprune prunes-off nodes and makes sure that
the node ids of the resulting tree are in pre-order starting with root node id 1.
For constparty objects, the fitted slot is also changed.