Learn R Programming

explore (version 1.3.4)

show_color: Show color vector as ggplot

Description

Show color vector as ggplot

Usage

show_color(color)

Value

ggplot

Arguments

color

Vector of colors

Examples

Run this code
show_color("gold")
show_color(c("blue", "red", "green"))

Run the code above in your browser using DataLab