vapeplot: Create a color ramp from a 'vapeplot' palette

Description Usage Arguments Examples

View source: R/scales.R

Description

Create a color ramp from a vapeplot palette

Usage

1
2
3
vapeplot(option = "vaporwave", n, alpha = 1, reverse = FALSE)

vapeplot_pal(option = "vaporwave", alpha = 1, reverse = FALSE)

Arguments

option

Choose from "vaporwave" (default), "cool", "crystal_pepsi", "mallsoft", "jazzcup", "sunset", "macplus", or "seapunk".

n

The number of colors (<e2><89><a5> 1) to be in the palette.

alpha

The alpha transparency, a number in [0,1]

reverse

If TRUE, the direction of the colours is reversed; FALSE is the default for continuous scales, TRUE for discrete scales.

Examples

1
2

seasmith/vapeplot documentation built on May 21, 2019, 10:08 a.m.