Description Usage Arguments Details Value See Also Examples

View source: R/holmans_triangle.R

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

1 |

`x` |
A matrix with three rows and two columns, each column being a trinomial distribution. An arrow between the two points is 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 arrows plotted.

`triplot()`

, `tripoints()`

,
`trilines()`

, `tritext()`

1 2 3 4 5 6 |

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.