color_test_palette: Test a color vector

View source: R/helper_color.R

color_test_paletteR Documentation

Test a color vector

Description

Create a figure using the assigned color vector

Usage

color_test_palette(colvect = c(), type = "line")

Arguments

colvect

A vector returned by color_set_palette()

type

One of

  • 'line' for using the color vector on a line plot (Default)

  • 'box' for using the color vector on a box plot.

Value

A plot

Examples

color_test_palette( setNames(c(1,2,3,4), c('apple','orange','avocado','lime') ))


mtb documentation built on Oct. 21, 2022, 1:05 a.m.