Learn R Programming

tricolore (version 1.2.6)

A Flexible Color Scale for Ternary Compositions

Description

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

Copy Link

Version

Install

install.packages('tricolore')

Monthly Downloads

611

Version

1.2.6

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Jonas Schc3<b6>ley

Last Published

December 2nd, 2025

Functions in tricolore (1.2.6)

TricoloreSextant

Ternary Sextant Color Scale
ValidateMainArguments

Validate Main Arguments
ColorKeyTricolore

Ternary Balance Scheme Legend
ValidateParametersTricoloreSextant

Validate TricoloreSextant Parameters
euro_basemap

Flat Map of European Continent
GeometricMean

Geometric Mean
ColorMapSextant

Sextant Encoding of Ternary Composition
ValidateParametersShared

Validate Shared Parameters
ValidateParametersTricolore

Validate Tricolore Parameters
TernaryCenterGrid

Return Ternary Gridlines Centered Around Some Composition
PowerScale

Compositional Powering
Pertube

Compositional Pertubation
TernarySextantVertices

Vertex Coordinates of Sextants in Equilateral Triangle
TernaryNearest

For Ternary Coordinates P Return the Nearest Coordinate in Set C
BasicKey

Template for Ternary Key
ColorMapTricolore

CIE-Lch Mixture of Ternary Composition
TernaryDistance

Distance Between Points in Ternary Coordinates
Centre

Compositional Centre
TernaryMeshVertices

Vertex Coordinates of Sub-Triangles in Segmented Equilateral Triangle
TernaryMeshCentroids

Centroid Coordinates of Sub-Triangles in Segmented Equilateral Triangle
euro_example

NUTS-2 Level Geodata and Compositional Data for Europe
TernaryLimits

Return the Limits of Ternary Coordinates
BreaksAndLabels

Breaks and Labels for Ternary Color Key
DemoTricolore

Interactive Tricolore Demonstration
Tricolore

Ternary Balance Color Scale
ColorKeySextant

Sextant Scheme Legend
TernarySurroundingSextant

Return Surrounding Sextant of Barycentric Coordinates