You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Create simple probability trees with ease. Intended for use with ggplot2, but can be used with other plotting systems too. You specify a set of nodes: the text content, and the parent node. (You can also specify the probability.) Ptree then computes the coordinates for laying out the tree's components: node-lables, connecting line segments, and (optionally) probabilities adorning those segments. A helper function can also do the work of drawing the tree for you, if you don't want to do the calls to ggplot2 yourself.