View source: R/create-shapes.R
create_x_shape | R Documentation |
x
and y
coordinates that form an "X"-like shapeCreate a set of x
and y
coordinates that form an "X"-like shape
create_x_shape(bar_length, bar_width, rotation = 45)
bar_length |
The length of one of the bars that forms the "X" shape, from outer edge to outer edge |
bar_width |
The width of one of the bars that forms the "X" shape, from outer edge to outer edge |
rotation |
The angle of rotation (in degrees) that the resulting "X"-like shape should be rotated |
A data frame containing the points needed to draw the specified "X"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.