p.arrows | R Documentation |
Draw arrows with solid heads.
p.arrows(x1, y1, x2, y2, size = 1, width = (sqrt(5) - 1)/4/cin, fill = 2,
border = NULL, ...)
x1 |
x start coordinates. |
y1 |
y start coordinates. |
x2 |
x end coordinates. |
y2 |
y end coordinates. |
size |
arrowhead size. |
width |
arrowhead width. |
fill |
arrowhead fill color. |
border |
arrowhead border color. |
... |
passed to |
NULL
, but arrowhead is drawn.
Borrowed from package sfsmisc
, adding border
argument.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.