cb.city: Cynthia Brewer's palettes at cpt-city

Description Details Author(s) References See Also Examples

Description

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

Details

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

Author(s)

A.J. Barbour

References

[1]: http://soliton.vm.bytemark.co.uk/pub/cpt-city/cb/

See Also

list_cpt, cpt, read_cpt, and city_palette

Examples

1
2
3
4
5
## Not run: 
head(list_cpt())
plot(get_cpt('OrRd',8))

## End(Not run)

abarbour/cb.city documentation built on May 10, 2019, 4:06 a.m.