Skip to contents

Custom wrapper for geom_jitter

Usage

geom_jitter_RR(..., size = 2.5, width = 0.4, height = 0.4)

Arguments

...

Other arguments passed on to layer(). These are often aesthetics, used to set an aesthetic to a fixed value, like colour = "red" or size = 3. They may also be parameters to the paired geom/stat.

size

Size of the dots.

width

Amount of horizontal jitter.

height

Amount of vertical jitter.

Examples

library(ggplot2)
iris |>
ggplot(aes(x = Species,
y = Sepal.Length)) +
theme_RR() +
geom_jitter_RR(width = 0.1)