View source: R/create-shapes.R
create_square | R Documentation |
x
and y
coordinates that form a square. This
function is a wrapper on create_rectangle()
aboveCreate a set of x
and y
coordinates that form a square. This
function is a wrapper on create_rectangle()
above
create_square(side_length, center = c(0, 0))
side_length |
The length of the side of the square |
center |
The center coordinates of the square |
A data frame containing the points needed to draw the specified square
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.