Jittered dot plot in 1d using the grid package

jitter_1d_grid(
  zargs,
  loc = 0.5,
  offset = 0.25,
  pch = 21,
  size = 0.02,
  draw = FALSE,
  ...
)

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)

offset

number in [0,0.5] determining how far off the center the jittered points reach maximally

pch

plotting symbol

size

size of the plotting symbol

draw

logical indicating whether drawing should take place

...

additional arguments passed to gpar()

Value

grob (invisibly)

Note

The default point size was chosen to match the default of graphics

Author

Marius Hofert and Wayne Oldford