corrheatmap() — Correlation heatmap

A coloured grid of how each pair of variables relates.

heatmap(cor(data))

Key idea

Definition

two variables (a row and a column)
how they vary together
their standard deviations
the correlation in that cell (-1 to +1)

In plain words

A coloured table where warm squares are "friends" that rise and fall together, and cool squares move in opposite directions.

Where you'd use it

Frequently asked questions

What does the heatmap colour show?
Pairwise correlations. Centre the colour scale at 0 so + and − read clearly.