Colour Schemes for Archaeological Data Visualization

Colour schemes for archaeological data visualization. Provides Paul Tol's colour schemes and several thematic palettes (geologic timescale, etc.) with scales for 'ggplot2'.


Build Status CRAN status lifecycle

Overview

khroma is a utility package: it provides usefull colour schemes for archaeological data visualization. khroma provides Paul Tol's colour schemes and several thematic palettes (geologic timescale, etc.) with scales for ggplot2.

Installation

Install the released version of usethis from CRAN:

install.packages("khroma")

Or install the development version from GitHub with:

devtools::install_github("nfrerebeau/khroma")

Usage

Paul Tol's Colour Schemes

Paul Tol offers carefully chosen schemes, ready for each type of data, with colours that are:

  • distinct for all people, including colour-blind readers;
  • distinct from black and white;
  • distinct on screen and paper;
  • matching well together.

All the scales presented in his 2018 technical note are implemented here, for use with graphics or ggplot2.

Qualitative data

Diverging data

Sequential data

Scientific colour schemes

For now, the only scientific colour scheme available is that of the International Chronostratigraphic Chart. More will be added in future releases (suggestions are welcome).

News

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("khroma")

1.0.0 by Nicolas Frerebeau, 4 months ago


http://github.com/nfrerebeau/khroma


Report a bug at http://github.com/nfrerebeau/khroma/issues


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


Authors: Nicolas Frerebeau [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports grDevices

Suggests ggplot2, scales


See at CRAN