validateBaseColor: Validate an R Base color representation.

Description Usage Arguments Details Value Examples

View source: R/correally.R

Description

validateBaseColor returns if a string vector contains color representations contained in the R Base colors.

Usage

1

Arguments

string

String vector.

Details

This function validates a given R Base color representation. It validates the input against the grDevices::colors() function.

Value

Returns a logical vector of the same length as the string input.

Examples

1
2
3
4

addiversitas/correally documentation built on Oct. 4, 2020, 12:14 a.m.