Description Usage Arguments Examples

View source: R/convex_polygon.R

Generates a random convex polygon with a given number of vertices. Returns a data frame with the ordered vertex co-ordinates and data for animating the algorithm

1 |

`n` |
The number of polygon vertices |

1 |

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.