position Jitter Dodge
fun positionJitterDodge(dodgeWidth: Number? = null, jitterWidth: Number? = null, jitterHeight: Number? = null, seed: Int? = null): PosOptions
This is primarily used for aligning points generated through geomPoint()
with dodged boxplots (e.g., a geomBoxplot()
with a fill aesthetic supplied).
Parameters
dodge Width
Bin width. The value is relative and typically ranges between 0 and 1. Values of dodgeWidth
that are greater than 1 lead to overlapping of the objects.
jitter Width
Jittering width. The value of jitterWidth
is relative and typically ranges between 0 and 0.5. Values that are greater than 0.5 lead to overlapping of the points.
jitter Height
Jittering height. The value of jitterHeight
is relative and typically ranges between 0 and 0.5. Values that are greater than 0.5 lead to overlapping of the points.
seed
A random seed to make the jitter reproducible. If null (the default value), the seed is initialised with a random value.