View source: R/navr-plot-elements.R
geom_navr_direction | R Documentation |
Adds arrow pointing from a point in a specified angle
geom_navr_direction(position, angle, length = 1, ...)
position |
numeric(2) of X and Y position |
angle |
numeric angle in degrees (0-360) |
length |
length od the arrow to be drawm |
... |
additional ggplot values |
ggplot element
geom_navr_direction(c(0,0), 180, 5, color = "red")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.