Learn R Programming

esvis (version 0.2.0)

col_scheme: Determine the color scheme to be used for the plotting

Description

Determine the color scheme to be used for the plotting

Usage

col_scheme(scheme, n, ...)

Arguments

scheme

The chosen color scheme. Options are "ggplot2", "viridis", "magma", "inferno", or "plasma". Note all but "ggplot2" depend upon the viridisLite package

n

The number of colors to be produced for the given scheme.

...

Additional arguments passed, typically being alpha.