plot_tree
, and the data.frame
that contains the relevant plotting data for the nodes
(especially x, y, label
), respectively. See
nodeplotdefault
for a simpler example. The
main purpose of this and nodeplotdefault
is
to provide a useful default function generator for
arbitrary and bootstrap node labels, respectively, and
also to act as examples of functions that can
successfully interact with plot_tree
to add
node labels to the graphic.
nodeplotboot(highthresh=95L, lowcthresh=50L, size=2L, hjust=-0.2)
highthresh
. Any bootstrap
values below this value will not be added to the graphic.
Set to 0 or below to add all available values.2
. These are ggplot2 sizes.-0.2
.nodeplotdefault
nodeplotboot()
nodeplotboot(3, -0.4)
Run the code above in your browser using DataLab