Learn R Programming

ezplot (version 0.7.13)

ez_col: Color palette interpolation

Description

Color palette interpolation

Usage

ez_col(n = 50, palette = NULL)

Value

rgb

Arguments

n

number of colours

palette

palette to interpolate from

Examples

Run this code
ez_col(15)
ez_col(2, c("blue", "red"))
ez_col(3, c("blue", "red"))

Run the code above in your browser using DataLab