make_color_scale: make_color_scale

Description Usage Arguments Value

View source: R/make_color_scale.R

Description

Using a list of colors, create a gradient of a discrete number of colors.

Usage

1
make_color_scale(palette = "viridis", gradations = 10)

Arguments

palette

One of the palettes in RColorBrewer, viridis, or a list of colors understood by colors()

gradations

The number of colors to return

Value

A list of hexidecimal numbers.


milescsmith/bubbleplot documentation built on Jan. 22, 2022, 3:10 p.m.