Software • May 1, 2024

tricolore. A flexible color scale for ternary compositions

Jonas Schöley & Ilya Kashnitsky, CRAN, 1.2.4.

tricolore is an R library providing a flexible color scale for the visualization of three-part (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>.