plot_colors: Plot colors of a color pallette

Description Usage Arguments Value Examples

Description

This function creates colored swatches of a list of colors for easy visualization.

Usage

1
plot_colors(color_list, color_list_name = NULL)

Arguments

color_list

list or vector of valid R colors

color_list_name

name of color scheme, optional, default is NULL.

Value

ggplot of color swatches and optional name of color pallette

Examples

1
plot_colors(c("red","yellow","blue"),"primary colors")

RebeccaStubbs/woodson documentation built on May 9, 2019, 9:37 a.m.