position_quasirandom {ggbeeswarm} | R Documentation |
Arrange points using quasirandom noise to avoid overplotting
position_quasirandom( method = "quasirandom", width = NULL, varwidth = FALSE, bandwidth = 0.5, nbins = NULL, dodge.width = 0, groupOnX = NULL, na.rm = FALSE )
method |
the method used for distributing points
(quasirandom, pseudorandom, smiley, maxout, frowney, minout, tukey, tukeyDense).
See |
width |
the maximum amount of spread (default: 0.4) |
varwidth |
vary the width by the relative size of each group |
bandwidth |
the bandwidth adjustment to use when calculating density Smaller numbers (< 1) produce a tighter "fit". (default: 0.5) |
nbins |
the number of bins used when calculating density (has little effect with quasirandom/random distribution) |
dodge.width |
Amount by which points from different aesthetic groups will be dodged. This requires that one of the aesthetics is a factor. |
groupOnX |
|
na.rm |
if FALSE, the default, missing values are removed with a warning. If TRUE, missing values are silently removed. |
vipor::offsetSingleGroup()
, geom_quasirandom()
Other position adjustments:
offset_beeswarm()
,
position_beeswarm()