- base_size, base_family, ...
Passed on to the ggplot theme_grey()
function.
- dat
The dataframe containing x, y and z.
- x
Character value with the name of the predictor ('independent')
variable, must refer to a categorical variable (i.e. a factor).
- y
Character value with the name of the critetion ('dependent')
variable, must refer to a continuous variable (i.e. a numeric vector).
- z
Character value with the name of the moderator variable, must refer
to a categorical variable (i.e. a factor).
- conf.level
Confidence of confidence intervals.
- jitter
Logical value (i.e. TRUE or FALSE) whether or not to jitter
individual datapoints. Note that jitter cannot be combined with posDodge
(see below).
- binnedDots
Logical value indicating whether to use binning to display
the dots. Overrides jitter and dotsize.
- binwidth
Numeric value indicating how broadly to bin (larger values
is more binning, i.e. combining more dots into one big dot).
- error
Character value: "none", "lines" or "whiskers"; indicates
whether to show the confidence interval as lines with (whiskers) or without
(lines) horizontal whiskers or not at all (none)
- dotsize
Character value: "density" or "normal"; when "density", the
size of each dot corresponds to the density of the distribution at that
point.
- singleColor
The color to use when drawing one or more univariate
distributions (i.e. when no z
is specified.
- comparisonColors
The colors to use when a z
is specified. This
should be at least as many colors as z
has levels. By default,
palette Set1
from RColorBrewer
is used.
- densityDotBaseSize
Numeric value indicating base size of dots when
their size corresponds to the density (bigger = larger dots).
- normalDotBaseSize
Numeric value indicating base size of dots when
their size is fixed (bigger = larger dots).
- violinAlpha
Numeric value indicating alpha value of violin layer (0 =
completely transparent, 1 = completely opaque).
- dotAlpha
Numeric value indicating alpha value of dot layer (0 =
completely transparent, 1 = completely opaque).
- lineAlpha
Numeric value indicating alpha value of the confidence
interval line layer (0 = completely transparent, 1 = completely opaque).
- connectingLineAlpha
Numeric value indicating alpha value of the layer
with the lines connecting the means (0 = completely transparent, 1 =
completely opaque).
- meanDotSize
Numeric value indicating the size of the dot used to
indicate the mean in the line layer.
- posDodge
Numeric value indicating the distance to dodge positions (0
for complete overlap).
- errorType
If the error is shown using lines, this argument indicates
Whether the errorbars should show the confidence interval
(errorType='ci'
), the standard errors (errorType='se'
), or
both (errorType='both'
). In this last case, the standard error will
be wider than the confidence interval.
- outputFile
A file to which to save the plot.
- outputWidth, outputHeight
Width and height of saved plot (specified in
centimeters by default, see ggsaveParams
).
- ggsaveParams
Parameters to pass to ggsave when saving the plot.