areColors: Are Colors

View source: R/visualizations.R

areColorsR Documentation

Are Colors

Description

Checks to see if a given vector can be interpreted by R as a color or colors

Usage

areColors(col)

Arguments

col

A vector of anything to be interpreted by rgb as a color.

Value

A logical vector stating whether inputs can be interpreted as colors.

Examples


areColors(col = c("red", "prairie_chicken", 2))


voluModel documentation built on Sept. 11, 2024, 8:04 p.m.