Arrow plot in 1d using R's base graphics

arrow_1d_graphics(
  zargs,
  loc = c(0.5, 0.5),
  angle = 60,
  length = 0.6,
  add = FALSE,
  plot... = NULL,
  ...
)

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 in [0, 180]

length

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

add

logical indicating whether this plot should be added to the last one

plot...

additional arguments passed to plot_region()

...

additional arguments passed to segments()

Value

invisible()

Author

Marius Hofert and Wayne Oldford