View source: R/translate-words-colours.R
Cnvert words to colours using the given number to letter subsitituions
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)
)
|
words |
character vector of words which can be represented as colours |
substitutions |
number-to-letter substitutions substituions |
colours |
character vector of colours |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.