Description Usage Arguments Value Note

creates an equilateral triangle with all sides equal to r centered on a given point

1 | ```
quick_triangle(r = 1, center = c(0, 0), draw = TRUE, ...)
``` |

`r` |
the side length |

`center` |
the center of the triangle, as an xy-coordinate |

`draw` |
a boolean indicating whether or not to actually draw the triangle |

`...` |
Additional parameters that work with polygon |

the coordinates of the triangle's vertices, with the first coordinate relisted at the end

not as flexible as tea_triangle() in the TeaSet class

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.