geom_navr_direction.Rd
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
#> mapping: x = ~x, y = ~y, xend = ~xend, yend = ~yend #> geom_segment: arrow = list(angle = 30, length = 0.25, ends = 2, type = 1), arrow.fill = NULL, lineend = butt, linejoin = round, na.rm = FALSE #> stat_identity: na.rm = FALSE #> position_identity