Whether to display the labels of the axes, i.e. the names of x and y. Default is TRUE.
ticks.labs
Whether to display the labels of the categories of x and y. Default is TRUE.
text.size
Size of the association measure. If NULL, the text is not added to the plot.
box
Whether to draw boxplots. Default is TRUE.
notch
If FALSE (default) make a standard box plot. If TRUE, make a notched box plot. Notches are used to compare groups; if the notches of two boxes do not overlap, this suggests that the medians are significantly different.
violin
Whether to draw a violin plot. Default is TRUE.
Value
a ggplot object
Details
Eta-squared measure of global association between x and y is displayed in upper-left corner of the plot.
This function can be used as a high-level plot with ggduo and ggpairs functions of the GGally package.