This function will print out scatterplots of all pairs of variables in a dataframe. Histograms on x and y variables are displayed on the margins, using ggMarginal() Correlation statistics are printed at the bottom left of figure.

pairs_scatterplots(data, x = c(), y = c(), all_pairs = FALSE)

Arguments

data

dataframe

x

X-axis variables

y

Y-axis variables

all_pairs

Logical. If TRUE then will overwrite x, and y parameters and just print out all combinations of paris in the dataframe. (Default: FALSE)