Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://briatte.github.io/ggcorr/
Correlation matrixes with ggplot2:
https://briatte.github.io/ggcorr/
Last synced: 3 days ago
JSON representation
Correlation matrixes with ggplot2:
- Host: GitHub
- URL: https://briatte.github.io/ggcorr/
- Owner: briatte
- Created: 2013-07-16T17:10:15.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-09-23T08:49:16.000Z (about 1 year ago)
- Last Synced: 2024-11-09T23:12:09.052Z (7 days ago)
- Language: R
- Homepage: https://briatte.github.io/ggcorr
- Size: 1.83 MB
- Stars: 15
- Watchers: 5
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ggcorr: correlation matrixes with ggplot2
![](demo.png)
This repository contains the latest version of the `ggcorr` function, which allows to plot correlation matrixes with [`ggplot2`](http://ggplot2.org/).
## INSTALL
`ggcorr` is part of the __`GGally`__ package. Install it [from CRAN](https://cran.r-project.org/web/packages/GGally/):
```{r}
install.packages("GGally")
```You can also use `ggcorr` as a standalone function from this repository:
```{r}
source("https://raw.githubusercontent.com/briatte/ggcorr/master/ggcorr.R")
```## VIGNETTE
The `ggcorr` function is fully documented in [this vignette](https://briatte.github.io/ggcorr).
The [vignette source](vignette) is included in this repository.
## THANKS
- The idea for this function comes from [a Stack Overflow question](http://stackoverflow.com/questions/12196756/significance-level-added-to-matrix-correlation-heatmap-using-ggplot2).
- The examples shown above use NBA statistics shared [by Nathan Yau](http://flowingdata.com/2010/01/21/how-to-make-a-heatmap-a-quick-and-easy-solution/).
- [Barret Schloerke](https://github.com/schloerke) helps by maintaining the `GGally` package