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" , Jonas Schöley, Frans Willekens (2017) "Visualizing compositional data on the Lexis surface" , and Ilya Kashnitsky, Jonas Schöley (2018) "Regional population structures at a glance" .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("tricolore")

1.2.6 by Jonas Schöley, 10 months ago


https://github.com/jschoeley/tricolore


Browse source code at https://github.com/cran/tricolore


Authors: Jonas Schöley [aut, cre] (ORCID: , Ilya Kashnitsky [aut]


Documentation:   PDF Manual  


GPL-3 license


Imports grDevices, ggplot2, ggtern, rlang, shiny, assertthat

Suggests testthat, knitr, rmarkdown, sf, leaflet, httpuv, dplyr


See at CRAN