Rug plot in 1d using R's base graphics

rug_1d_graphics(
  zargs,
  loc = 0.5,
  length = 0.5,
  width = 1,
  col = par("fg"),
  add = FALSE,
  plot... = NULL,
  ...
)

Arguments

zargs

argument list as passed from zenplot()

loc

location in [0,1]; 0 corresponds to left, 1 to right (in the direction of the path)

length

length of the rugs

width

line width of the rugs

col

color of the rugs

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