geom_navr_direction: Adds arrow pointing from a point in a specified angle

View source: R/navr-plot-elements.R

geom_navr_directionR Documentation

Adds arrow pointing from a point in a specified angle

Description

Adds arrow pointing from a point in a specified angle

Usage

geom_navr_direction(position, angle, length = 1, ...)

Arguments

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

Value

ggplot element

Examples

geom_navr_direction(c(0,0), 180, 5, color = "red")

hejtmy/navr documentation built on March 3, 2023, 5:24 p.m.