agg_arrow.Rd
Add an arrow
agg_arrow(tail.x, tail.y, head.x, head.y, colour = "black", panel, lwd = 1, color)
tail.x | The x coordinate of the arrow tail |
---|---|
tail.y | The y coordinate of the arrow tail |
head.x | The x coordinate of the arrow head |
head.y | The y coordinate of the arrow head |
colour | The colour of the arrow |
panel | Which panel should the arrow be placed on? You can specify a vector of panels (e.g. `panel = c("1","3")`) to apply the arrow to multiple panels at once. |
lwd | (Optional, default 1) The linewidth of the arrow |
color | (Deprecated; use colour instead) The colour of the arrow |
vignette("plotting-options", package = "arphit")
for a detailed description of
all the plotting options
arphitgg(data) + agg_arrow(tail.x = 2002, tail.y = 0, head.x = 2003, head.y = 1, color = RBA["Blue1"], panel = "1")#> Warning: color is deprecated; use colour instead#>