Plot a Correlogram

Calculates correlation of variables and displays the results graphically. Included panel functions can display points, shading, ellipses, and correlation values with confidence intervals. See Friendly (2002) .


Version 1.8 (Jul 2015)

  • Namespace changes due to R devel changes.

Version 1.7 (Feb 2015)

  • Support more seriate options.

Version 1.6 (Aug 2014)

  • Move packages from Depends to Imports.

  • Argument label.pos now defaults to c(.5, .5) for x,y positioning. (Request of Evan Williams).

  • New argument 'cor.method'. (Request of Evan Williams).

  • Added vignette.

Version 1.5 (Aug 2013)

  • Update references links. (Request of Michael Friendly).

  • Small bug with test for correlation matrix (Reported by F. Rosa)

Version 1.4 (Nov 2012)

  • Panel colors are now specified via a 'col.regions' argument. The old method of using 'col.corrgram' is ignored. Could cause slight incompatability.

  • Re-worked examples section for more variety.

Version 1.3 (Aug 2012)

  • Added ''. (Request of dadrivr)

  • Added example for unclipped labels (in the test suite).

Version 1.2

  • Small bug. Now accepts NA values in correlation matrices, and NAs caused by missing combinations of data and cor( use="pair").

  • Non-numeric columns in the data will be ignored. (Request of JZ)

  • New panel function panel.density

  • Test suite now includes corrgram of inverse correlation, partial correlation matrices.

Version 1.1

  • Added namespace.

Version 1.0

  • New panel function 'panel.conf'
  • New data set 'vote'
  • New function arguments 'dir' (alternative to 'row1attop'), 'type', '', 'title', 'abs'.
  • Now works for either a data.frame or a correlation matrix using the 'type' argument. Panel functions need a 'corr' argument.
  • New ordering method 'OLO' using 'seriation' package.
  • Ordering can now be done on absolute value of correlations.
  • Fixed bug: Strongly negative correlations used no color.

Version 0.1 (Nov 2006)

  • First release to CRAN.

Version 0.0 (Apr 2006)

  • Package development begins 2006-04-16.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.14 by Kevin Wright, 6 months ago

Report a bug at

Browse source code at

Authors: Kevin Wright [aut, cre]

Documentation:   PDF Manual  

GPL-3 license

Imports graphics, grDevices, stats

Suggests gridBase, knitr, Matrix, psych, rmarkdown, seriation, sfsmisc, testthat

Imported by MLRShiny, MLRShiny2, STAT, STAT2.

Suggested by Guerry, agridat, fastR2, heplots.

See at CRAN