squash (version 1.0.8)

corrogram: Draw a color-coded triangular matrix of pairwise correlations

Description

This figure is a color-coded, rotated triangular matrix indicating the correlation between every pair of items.

Usage

corrogram(...)

Arguments

Arguments passed to distogram.

Value

A color map (as generated by makecmap), invisibly.

Details

This is a simple wrapper around distogram, with the color scale set by default to use blueorange with a range from -1 to +1.

See Also

distogram

Examples

Run this code
# NOT RUN {
  
  corrogram(cor(swiss), title = 'Pearson correlation')
# }

Run the code above in your browser using DataLab