check_mnsl: Checks for valid Munsell colours

Description Usage Arguments Value Examples

Description

Checks user supplied munsell specification for validity. I.e. colour is of form "h v/c" and h, v and c take valid values.

Usage

1

Arguments

col

a character vector representing Munsell colours.

fix

passed on to fix_mnsl. Use fix = TRUE to fix "bad" colours

Value

a character vector containing the input colours. If any colours were outside the gamut they will be represented by NA.

Examples

1
check_mnsl(c("5R 5/8","2.5R 9/28"))

Example output

[1] "5R 5/8"    "2.5R 9/28"

munsell documentation built on May 2, 2019, 5:57 a.m.