color_pal: Draw a palette of colors

Description Usage Arguments Details Value Author(s) Examples

View source: R/utility_functions.r

Description

Draw a palette of colors

Usage

1
color_pal(col, border = "gray70", ...)

Arguments

col

vector of colors

border

border

...

other arguments

Details

Borrowed from the colorspace library

Value

Plot of a color palette

Author(s)

colorspace library authors

Examples

1
color_pal(c("#66C2A5", "#FC8D62", "#8DA0CB"))

kjhealy/socviz documentation built on July 20, 2020, 7:36 a.m.