hexVertices | R Documentation |
Generates vertex coordinates for a regular hexagon.
hexVertices(radius, major_axis = c("v", "h"))
radius |
radius of the hexagon |
major_axis |
orientation of the major axis 'v' is vertical (default) and 'h' is horizontal |
a data.table of regular hexagon vertices
polyStamp circleVertices rectVertices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.