Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 690 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 690 Bytes

colourScaleR

colourScaleR provides a unified interface to scico, viridis, & Color Brewer for creating colour scales

Installation

You can install the development version of colourScaleR from github with:

remotes::install_github("RichardJActon/colourScaleR")

Example

library(colourScaleR)

universal_colour_scaler(
	rnorm(10),
	type = "brewer",
	scale = "log",
	palette = "RdYlBu",
	verbose = TRUE,
	n_breaks = 10,
	mode = "scaled",
	direction = -1
)