Description Usage Arguments Details Value See Also Examples

View source: R/holmans_triangle.R

Plot lines within a Holmans triangle (an equilateral triangle used to depict trinomial distributions).

1 |

`x` |
A matrix with three rows, each column being a trinomial distribution. Lines between these points are plotted. |

`...` |
Passed to |

Plot of an equilateral triangle, in order to depict trinomial
distributions. A trinomial distribution (that is, a trio of
non-negative numbers that add to 1) is equated to a point in the
triangle through the distances to the three sides. This makes use of
the fact that for any point in an equilateral triangle, the sum of the
distances to the three sides is constant.
First use `triplot()`

to first plot the equilateral triangle.

The (x,y) coordinates of the endpoints of the lines plotted.

`triplot()`

, `tripoints()`

,
`triarrow()`

, `tritext()`

1 2 3 4 5 6 |

kbroman/broman documentation built on Dec. 23, 2018, 5:30 a.m.

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.