my_palette: palette function

Description Usage Arguments Examples

View source: R/my_palette.R

Description

baed on functions published by Garrick Aden-Buie

Usage

1
my_palette(primary = "orange", other = "gold", direction = 1)

Arguments

primary

initial color - must be in the selection

other

if selection only 2 colors, the secondary color

direction

whether you want ot reverse the direction of the colors

Examples

1
ggplot() + my_palette(direction = -1)(2)

mattreed09/MattPack documentation built on Nov. 4, 2019, 6:18 p.m.