View source: R/splot-polygons.R
| rectangle_vertices | R Documentation |
Generate Rectangle Vertices
rectangle_vertices(x, y, w, h)
x |
Center x coordinate. |
y |
Center y coordinate. |
w |
Half-width. |
h |
Half-height. |
List with x, y vectors of vertices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.