Learn R Programming

ggthemr (version 1.1.0)

define_swatch: Create a ggthemr_swatch object

Description

Given a vectors of colors, checks will be carried out to make sure colours are not duplicated and are valid. See define_palette for more details.

Usage

define_swatch(x)

ggthemr_swatch(x)

Arguments

x

Vector of colours

Value

Object of type ggthemr_swatch