This function creates a custom x-axis scale for Aphantasia groups in ggplot2 plots.
Usage
scale_x_aphantasia(name = NULL, mult = 0, add = c(0, 0.7), ...)Arguments
- name
Name of the x-axis.
- mult
Multiplier for
ggplot2::expansion().- add
Additive for
ggplot2::expansion().- ...
Additional arguments passed to
ggplot2::scale_x_discrete().
