powered by
Generates a triangle representing the 2-simplex.
triangle(labels = c("1", "2", "3"))
List of size 2 with members coords and canvas.
coords
canvas
coords holds edge coordinates of the 2-simplex, canvas
a ggplot2 plot object of the 2-simplex.
String vector of length 3 that names the edges of the triangle.
Daniel Gebele dngebele@gmail.com
triangle()
Run the code above in your browser using DataLab