View source: R/visualization-utils.R
scatterplot_matrix | R Documentation |
Make a scatterplot matrix
scatterplot_matrix(.data, ..., .by = NULL, .bins = 10)
.data |
A data frame |
... |
A comma separated list of tidyselections of columns. This can be as simple as a set of column names. |
.by |
An optional categorical variable by which to group and colour the points. |
.bins |
The number of bins in the histograms on diagonal of matrix. |
A GGally::ggpairs
plot.
data_df <- test_psychometrics %>%
total_scores(x = starts_with('x_'),
y = starts_with('y_'),
z = starts_with('z_'))
scatterplot_matrix(data_df, x, y, z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.