Need help with corrplot?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

228 Stars 79 Forks Other 540 Commits 3 Opened issues


A visual exploratory tool on correlation matrix

Services available


Need anything else?

Contributors list

R-CMD-check CRAN Status CRAN Downloads


R package corrplot provides a visual exploratory tool on correlation matrix that supports automatic variable reordering to help detect hidden patterns among variables.

corrplot is very easy to use and provides a rich array of plotting options in visualization method, graphic layout, color, legend, text labels, etc. It also provides p-values and confidence intervals to help users determine the statistical significance of the correlations.

For examples, see its online vignette.

This package is licensed under the MIT license, and available on CRAN:

Basic example

M = cor(mtcars)
corrplot(M, order = 'hclust', addrect = 2)

Basic example

Download and Install

To download the release version of the package on CRAN, type the following at the R command line:


To download the development version of the package, type the following at the R command line:

devtools::install_github('taiyun/corrplot', build_vignettes = TRUE)

How to cite

To cite

properly, call the R built-in command
as follows:

Reporting bugs and other issues

If you encounter a clear bug, please file a minimal reproducible example on github.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.