Arrow plot in 1d using the grid package

arrow_1d_grid(
  zargs,
  loc = c(0.5, 0.5),
  angle = 60,
  length = 0.6,
  draw = FALSE,
  ...
)

Arguments

zargs

argument list as passed from zenplot()

loc

(x,y)-location in [0,1]^2; 0 corresponds to left, 1 to right (in the direction of the path)

angle

angle from the shaft to the edge of the arrow head

length

length of the arrow in [0,1] from tip to base

draw

logical indicating whether drawing should take place

...

additional arguments passed to gpar()

Value

grob (invisibly)

Author

Marius Hofert and Wayne Oldford