View source: R/position_points_sinax.R
position_points_sinax | R Documentation |
This is a position adjustment specifically for 'geom_density_ridges()', but it add 'hexpand' that can control shift horizontally.
position_points_sinax(
rel_min = 0.02,
rel_max = 0.98,
seed = NULL,
hexpand = NA
)
rel_min |
numeric, the relative minimum value at which a point can be placed. |
rel_max |
numeric, the relative maximum value at which a point can be placed. |
seed |
numeric, Random seed, if set to NULL, the current random number generator is used. If set to NA, a new random random seed is generated. If set to a number, this number is used as seed for jittering only, default is NULL. |
hexpand |
numeric, distance to be shifted horizontally for geoms that have a position, default is NA. |
position method.
Shuangbin Xu
Other position adjustments:
position_dodgex()
,
position_identityx()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.