Description Details Author(s) References See Also Examples
This package provides accress to Cynthia Brewer's sequential, divergent, and qualitative palettes found online at cpt-city [1]. It is important to choose a palette appropriate for the data, and guidance as to which palette to use can be found at http://colorbrewer2.org/.
The main functions to use are cpt
and read_cpt
, but there is also
a convenience function city_palette
to get a palette in one step.
You can use list_cpt
to see all possible palettes (references built-in table cbcity
).
A.J. Barbour
[1]: http://soliton.vm.bytemark.co.uk/pub/cpt-city/cb/
list_cpt
, cpt
, read_cpt
, and city_palette
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.