Provides a 'ggplot2' extension for drawing Hinton diagrams, a visualisation technique for numerical matrices in which the area of each square is proportional to the magnitude of the corresponding entry. For signed data, white squares indicate positive values and black squares indicate negative values on a grey background. Hinton diagrams are especially useful for visualising PCA weight matrices, correlation matrices, and transition matrices.
| Version: | 0.1.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | cli (≥ 3.4.0), ggplot2 (≥ 3.4.0), rlang (≥ 1.1.0) |
| Suggests: | knitr, Matrix, patchwork, grid, scales (≥ 1.3.0), rmarkdown, testthat (≥ 3.0.0), tibble, vdiffr |
| Published: | 2026-04-01 |
| DOI: | 10.32614/CRAN.package.gghinton (may not be active yet) |
| Author: | Robin Foster [aut, cre, cph] |
| Maintainer: | Robin Foster <gghinton at proton.me> |
| BugReports: | https://github.com/robin-foster-rf/gghinton/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/robin-foster-rf/gghinton |
| NeedsCompilation: | no |
| Language: | en-GB |
| Materials: | README, NEWS |
| CRAN checks: | gghinton results |
| Reference manual: | gghinton.html , gghinton.pdf |
| Vignettes: |
Getting Started with gghinton (source, R code) MacKay's ITILA Examples (source, R code) Hinton Diagrams in Practice: A Gallery (source, R code) Why Hinton Diagrams? (source, R code) |
| Package source: | gghinton_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=gghinton to link to this page.