words_to_colours: Cnvert words to colours using the given number to letter...

Description Usage Arguments

View source: R/translate-words-colours.R

Description

Cnvert words to colours using the given number to letter subsitituions

Usage

1
2
3
4
5
6
7
8
9
words_to_colours(
  words,
  substitutions = c(o = 0, l = 1, z = 2, s = 5, t = 7, g = 9)
)

colours_to_words(
  colours,
  substitutions = c(o = 0, l = 1, z = 2, s = 5, t = 7, g = 9)
)

Arguments

words

character vector of words which can be represented as colours

substitutions

number-to-letter substitutions substituions

colours

character vector of colours


coolbutuseless/colourmebad documentation built on Dec. 19, 2021, 6:03 p.m.