Create Probability Trees Easily, Especially w/ ggplot2

compute_tiers | A Tier Computer |

compute_tree | A Tree Computer |

compute_x | An x-coordinate Computer |

compute_y | A y-coordinate Computer |

draw_tree | A Probability Tree Plotter |

flip_vertical | A Vertical Flipper |

midpoint | A Midpoint Function |

place_descendents | A Descendent y-coordinate Computer |

place_labels | A Segment-Label Placer |

place_nodes | A Label Placer |

place_segments | A Segment Placer |

p_tree | A Tree Planner & Plotter |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.