Description Usage Arguments Details See Also Examples
Draw diamonds on the graphics device.
1 |
x, y |
Position(s) of the centers of the diamonds. |
radius |
Distances from the center to the vertex. |
... |
Further arguments passed to |
x
and y
can be passed to diamond
in any form recognized by xy.coords
(e.g. individual vectors, list, data frame, formula).
Only “square” (equilateral) diamonds are implemented here.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.