read_palette: Function reads a color palette and returns a vector of...

Description Usage Arguments Value Author(s)

View source: R/read_palette.R

Description

The function reads a readable .rds file created by RpalettePkg::create_palette() and returns a list of hexadecimal strings suitable for ggplot2 applications.

Usage

1
read_palette(palette_path = NULL)

Arguments

palette_path

A string that sets the file path for the .rds file to read. The file stores a vector of colors in hexidecimal format.

Value

Function returns a vector of colors valued as hexadecimal strings.

Author(s)

Rick Dean


deandevl/RpalettePkg documentation built on Sept. 19, 2021, 8:45 a.m.