Crate a Brattle-formatted scatterplot matrix
Character vector of column names to include in plot
Maximum number of distinct values for non-factors to be treated as factors for plotting
The diagonal terms are histograms for each variable. The upper triangle shows correlation among continuous variables and is blank if either variable is discrete. The lower diagnoal is:
A scatterplot with smoother for continuous-continuous pairs;
A boxplot for continuous-discrete pairs; and
Faceted histograms for discrete-discrete pairs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.