This repository contains the latest version of the ggcorr
function, which allows to plot correlation matrixes with ggplot2
.
ggcorr
is part of the GGally
package. Install it from CRAN:
install.packages("GGally")
You can also use ggcorr
as a standalone function from this repository:
source("https://raw.githubusercontent.com/briatte/ggcorr/master/ggcorr.R")
The ggcorr
function is fully documented in this vignette.
The vignette source is included in this repository.
- The idea for this function comes from a Stack Overflow question.
- The examples shown above use NBA statistics shared by Nathan Yau.
- Barret Schloerke helps by maintaining the
GGally
package