tricolore: A Flexible Color Scale for Ternary Compositions
Compositional data consisting of three-parts can be color mapped with a ternary color scale. Such a scale is provided by the tricolore packages with options for discrete and continuous colors, mean-centering and scaling. See Jonas Schöley (2021) "The centered ternary balance scheme. A technique to visualize surfaces of unbalanced three-part compositions" <doi:10.4054/DemRes.2021.44.19>, Jonas Schöley, Frans Willekens (2017) "Visualizing compositional data on the Lexis surface" <doi:10.4054/DemRes.2017.36.21>, and Ilya Kashnitsky, Jonas Schöley (2018) "Regional population structures at a glance" <doi:10.1016/S0140-6736(18)31194-2>.
| Version: | 1.2.6 |
| Depends: | R (≥ 4.0) |
| Imports: | grDevices,ggplot2 (≥ 4.0.0),ggtern (≥ 4.0.0),rlang (≥1.1.0),shiny,assertthat |
| Suggests: | testthat,knitr,rmarkdown,sf,leaflet,httpuv,dplyr |
| Published: | 2025-12-02 |
| DOI: | 10.32614/CRAN.package.tricolore |
| Author: | Jonas Schöley [aut, cre], Ilya Kashnitsky [aut] |
| Maintainer: | Jonas Schöley <jschoeley at gmail.com> |
| License: | GPL-3 |
| URL: | https://github.com/jschoeley/tricolore |
| NeedsCompilation: | no |
| Citation: | tricolore citation info |
| Materials: | NEWS |
| CRAN checks: | tricolore results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=tricoloreto link to this page.