data
data set using. Can have both numerical and categorical data.
mapping
aesthetic mapping (besides x
and y
). See aes()
. If mapping
is numeric, columns
will be set to the mapping
value and mapping
will be set to NULL
.
columns
which columns are used to make plots. Defaults to all columns.
title
title, x label, and y label for the graph
xlab
title, x label, and y label for the graph
ylab
title, x label, and y label for the graph
upper
see Details
lower
see Details
diag
see Details
params
deprecated. Please see wrap_fn_with_param_arg
axisLabels
either "show" to display axisLabels, "internal" for labels in the diagonal plots, or "none" for no axis labels
columnLabels
label names to be displayed. Defaults to names of columns being used.
labeller
labeller for facets. See labellers
. Common values are "label_value"
(default) and "label_parsed"
.
switch
switch parameter for facet_grid. See ggplot2::facet_grid
. By default, the labels are displayed on the top and right of the plot. If "x"
, the top labels will be displayed to the bottom. If "y"
, the right-hand side labels will be displayed to the left. Can also be set to "both"
showStrips
boolean to determine if each plot's strips should be displayed. NULL
will default to the top and right side plots only. TRUE
or FALSE
will turn all strips on or off respectively.
legend
May be the two objects described below or the default NULL
value. The legend position can be moved by using ggplot2's theme element pm + theme(legend.position = "bottom")
- a numeric vector of length 2
provides the location of the plot to use the legend for the plot matrix's legend. Such as legend = c(3,5)
which will use the legend from the plot in the third row and fifth column
- a single numeric value
provides the location of a plot according to the display order. Such as legend = 3
in a plot matrix with 2 rows and 5 columns displayed by column will return the plot in position c(1,2)
- a object from
grab_legend()
a predetermined plot legend that will be displayed directly
cardinality_threshold
maximum number of levels allowed in a character / factor column. Set this value to NULL to not check factor columns. Defaults to 15
progress
NULL
(default) for a progress bar in interactive sessions with more than 15 plots, TRUE
for a progress bar, FALSE
for no progress bar, or a function that accepts at least a plot matrix and returns a new progress::progress_bar
. See ggmatrix_progress
.
proportions
Value to change how much area is given for each plot. Either NULL
(default), numeric value matching respective length, grid::unit
object with matching respective length or "auto"
for automatic relative proportions based on the number of levels for categorical variables.
legends
deprecated