node_plot: Plot a Tree and Show the Type Attribute
Description
A wrapper of the function plot.Node of the packages data.tree.
If a non-leaf node has a type attribute, then the attribute will be shown.
Usage
node_plot(node, param = FALSE, ...)
Arguments
- node
a tree (i.e. a Node object).
- param
If TRUE, those parameters such as alpha, beta, es etc. will be shown.
- ...
arguments to be passed to the function plot.Node.