write_palette_function: Generate a Pallete Function from a Color Vector

Description Usage Arguments Value

View source: R/palette-utils.R

Description

Generate a Pallete Function from a Color Vector

Usage

1

Arguments

vec

A vector to convert ot a function

fname

A string. The name of the function that is created

Value

Writes a file to a local R directory. Assumes that the function is called from a package directory.


nateaff/legolda documentation built on Sept. 24, 2017, 4:38 a.m.