Spread points out horizontally so that, in dot plot of quantitative response in multiple categories, the separate points can be seen.
jiggle(
group,
y,
method = c("random", "fixed"),
hnum = 35,
vnum = 40,
maxvalue = 0.45
)
Numeric vector with amounts to jiggle the points horizontally
Categorical variable defining group; can be a factor, character, or numeric vector
Vector of quantitative responses
What method to use for horizontal jiggling.
Number of horizontal bins for the jiggling.
Number of vertical bins for the jiggling.
Maximum value in the results; results will be scaled to this value.
Use NULL
to not scale.
The "random"
method is similar to
base::jitter()
but with amount of jiggling proportional
to the number of nearby points. The "fixed"
method is
similar to the beeswarm package