View source: R/position-quasirandom.R
| position_quasirandom | R Documentation |
Offset points to avoid overplotting using the
offsetSingleGroup function from the vipor package.
position_quasirandom( method = "quasirandom", width = NULL, varwidth = FALSE, bandwidth = 0.5, nbins = NULL, dodge.width = NULL )
method |
|
width |
|
varwidth |
|
bandwidth |
|
nbins |
|
dodge.width |
|
method: specifies the algorithm used to distribute the points.
"quasirandom": points are distributed within a kernel density estimate of
the distribution with offset determined by quasirandom Van de Corput noise.
"pseudorandom": points are distributed within a kernel density estimate of
the distribution with offset determined by pseudorandom noise a la jitter.
"maxout": points are distributed within a kernel density with points in a
band distributed with highest value points on the outside and lowest in
the middle.
"minout": points are distributed within a kernel density with points in a
band distributed with highest value points in the middle and lowest on
the outside.
"tukey": points are distributed as described in Tukey and Tukey,
"Strips displaying empirical distributions: I. textured dot strips".
"tukeyDense": points are distributed as described in Tukey and Tukey but
are constrained with the kernel density estimate.
position_beeswarm()
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.