makeColorscheme: Create a color generating function from a vector of colors

Description Usage Arguments Value Examples

Description

Create a color generating function from a vector of colors

Usage

1

Arguments

col

a vector of colors

Value

a function that generates a vector of colors interpolated among the colors in col

Examples

1
2
3
cs <- makeColorscheme( c('red','white','blue') )
cs(10)
cs(10, alpha=.5)


Search within the mosaic package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.