show_colors: Show Color Palette

View source: R/colors.R

show_colorsR Documentation

Show Color Palette

Description

Plotting a vector containing hex encoded or standard R colors. The function will return a plot showing all the colors that are stored in a vector.

Usage

show_colors(x)

Arguments

x

vector; must contain hex encoded or standard R colors

Value

plot; showing the colors in an example plot

Examples

# show the color palette for colorblind individuals
show_colors(colors_wong)


PhilippJanitza/rootdetectR documentation built on Feb. 24, 2024, 6:46 a.m.