Shows a matrix where the lower triangle displays scatterplots of variable pairs, the diagonal displays variable histograms and the upper triangle displays correlations of variable pairs.
Technical details
Description
Also known as a scatter plot matrix or SPLOM.
Inputs
A series of categorical or numeric variables to use as correlation inputs.
- Variables to plot The variables that will be shown in the matrix. These can be numeric, categorical or ordered categorical.
- Variable names Whether to show variable names in the matrix, instead of variable labels.
-
Missing data Method for dealing with missing data. See Missing Data Options.
- Error if missing data
- Exclude cases with missing data
- Use partial data
-
Fitted line
- None No fitted line is shown in each scatterplot.
- Straight A line of best fit (from linear regression) is shown in each scatterplot.
- LOESS A line generated using fitted values from locally weighted polynomial regression is shown in each scatterplot.
-
Scatter point type The type of plot point to display.
- Small dots
- Dots
- Big dots
- Circles
-
Scatter point modifications
- None No modifications.
- Jitter Add noise to each point so that areas with closely positioned points appear denser.
- Enlarge points with multiple observations Multiple points with identical positions will appear as an enlarged point. This is the default.
Chart
This tab contain options for formatting the text and graphical elements in the chart. It is organized into groups for Correlation (panels in the upper-right triangle), Scatterplots (panels in the lower-left triangle) and Histograms (panels along the diagonal).
Output
An example of a scatterplot matrix with categorical variables:
An example of a scatterplot matrix with 3 variables and fitted LOESS curves:
Acknowledgements
Uses the R package weights.
Method
- In Displayr: How to Create a Scatterplot Matrix
- In Q: Create > Correlation > Scatterplot Matrix