Package: tricolore 1.2.6

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>.

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

tricolore_1.2.6.tar.gz
tricolore_1.2.6.zip(r-4.7)tricolore_1.2.6.zip(r-4.6)tricolore_1.2.6.zip(r-4.5)
tricolore_1.2.6.tgz(r-4.6-any)tricolore_1.2.6.tgz(r-4.5-any)
tricolore_1.2.6.tar.gz(r-4.7-any)tricolore_1.2.6.tar.gz(r-4.6-any)
tricolore_1.2.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
tricolore/json (API)
NEWS

# Install 'tricolore' in R:
install.packages('tricolore', repos = c('https://jschoeley.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jschoeley/tricolore/issues

Datasets:

On CRAN:

Conda:

7.17 score 165 stars 90 scripts 165 downloads 1 mentions 3 exports 56 dependencies

Last updated from:2e722f3784. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK171
source / vignettesOK222
linux-release-x86_64OK190
macos-release-arm64OK190
macos-oldrel-arm64OK221
windows-develOK189
windows-releaseOK117
windows-oldrelOK118
wasm-releaseOK129

Exports:DemoTricoloreTricoloreTricoloreSextant

Dependencies:assertthatbase64encbayesmbslibcachemclicommonmarkcompositionscpp11DEoptimRdigestfarverfastmapfontawesomefsggplot2ggterngluegridExtragtablehexbinhtmltoolshttpuvisobandjquerylibjsonlitelabelinglaterlatex2explatticelifecyclemagrittrMASSmemoisemimeotelplyrpromisesprotoR6rappdirsRColorBrewerRcppRcppArmadillorlangrobustbaseS7sassscalesshinysourcetoolstensorAvctrsviridisLitewithrxtable

Choropleth maps with tricolore

Rendered fromchoropleth_maps_with_tricolore.Rmdusingknitr::rmarkdownon Jun 02 2026.

Last update: 2024-05-14
Started: 2018-08-30