datadata set using. Can have both numerical and categorical data.
mappingaesthetic 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.
columnswhich columns are used to make plots. Defaults to all columns.
titletitle, x label, and y label for the graph
xlabtitle, x label, and y label for the graph
ylabtitle, x label, and y label for the graph
uppersee Details
lowersee Details
diagsee Details
paramsdeprecated. Please see wrap_fn_with_param_arg
axisLabelseither "show" to display axisLabels, "internal" for labels in the diagonal plots, or "none" for no axis labels
columnLabelslabel names to be displayed. Defaults to names of columns being used.
labellerlabeller for facets. See labellers. Common values are "label_value" (default) and "label_parsed".
switchswitch 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"
showStripsboolean 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.
legendMay 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_thresholdmaximum number of levels allowed in a character / factor column. Set this value to NULL to not check factor columns. Defaults to 15
progressNULL (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.
proportionsValue 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.
legendsdeprecated