plot_tree
, and the data.frame
that contains the relevant plotting data for the nodes
(especially x, y, label
),
respectively.
See nodeplotboot
for a more sophisticated example.
The main purpose of this and nodeplotboot
is to
provide a useful default function generator for arbitrary and
bootstrap node labels, respectively, and also to act as
examples of functions that will successfully interact with
plot_tree
to add node labels to the graphic.nodeplotdefault(size=2L, hjust=-0.2)
2
. These are ggplot2 sizes.-0.2
.nodeplotboot
nodeplotdefault()
nodeplotdefault(3, -0.4)
Run the code above in your browser using DataLab