triangle {EvolutionaryGames} | R Documentation |
Triangle for 2-simplex operations
Description
Generates a triangle representing the 2-simplex.
Usage
triangle(labels = c("1", "2", "3"))
Arguments
labels |
String vector of length 3 that names the edges of the triangle. |
Value
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.
Author(s)
Daniel Gebele dngebele@gmail.com
Examples
triangle()
[Package EvolutionaryGames version 0.1.2 Index]