Learn R Programming

pcutils (version 0.2.8)

is.ggplot.color: Judge if a characteristic is Rcolor

Description

Judge if a characteristic is Rcolor

Usage

is.ggplot.color(color)

Value

TRUE or FALSE

Arguments

color

characteristic

Examples

Run this code
is.ggplot.color("red")
is.ggplot.color("notcolor")
is.ggplot.color(NA)
is.ggplot.color("#000")

Run the code above in your browser using DataLab