Stat.y_jitter
Nudge values on the y-axis to avoid overplotting.
Asethetics
y
: Data to nudge.
Arguments
range
: Maximum jitter is this number times the resolution of the data, where the "resolution" is the smallest non-zero difference between two points.seed
: Seed for RNG used to randomly jitter values.
Examples
plot(x=rand(500), y=rand(1:4, 500), Stat.y_jitter(range=0.5), Geom.point)