validateRColorBrewer: Validate an RColorBrewer representation.

Description Usage Arguments Details Value Examples

View source: R/correally.R

Description

validateRColorBrewer returns if a string vector contains color representations contained in the RColorBrewer package.

Usage

1

Arguments

string

String vector.

Details

This function validates a given RColorBrewer representation. It validates the input against the RColorBrewer::brewer.pal.info method.

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.