Description Usage Arguments Value Author(s) Examples

Generates a triangle representing the 2-simplex.

1 |

`labels` |
String vector of length 3 that names the edges of the triangle. |

List of size 2 with members `coords`

and `canvas`

.
`coords`

holds edge coordinates of the 2-simplex, `canvas`

a ggplot2 plot object of the 2-simplex.

Daniel Gebele [email protected]

1 | ```
triangle()
``` |

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.