Description Usage Arguments Details Value Author(s) Examples
View source: R/translate_color.R
Translate some colours from Spanish to English
| 1 | translate_color(color)
 | 
| color | [ | 
Only a few fundamental colours are implemented in the function: black (negro/a), grey (gris), white (blanco/a), red (rojo/a), pink (rosa), green (verde), blue (azul), purple (morado/a), brown (marrón), orange (naranja), yellow (amarillo/a).
Character string with the color in English (see details).
If provided color is not implemented, it raises an error.
Víctor Moreno-González <vmorg@unileon.es
| 1 2 3 | translate_color("rojo")
translate_color("Marrón")   # It deals with uppercases
translate_color("amarilla") # It deals with female and male names
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.