Description Usage Arguments Value See Also Examples
View source: R/ecoval.translate.r
Translates a word given as the first argument using a dictionary provided as the second argument of the function. The dictionary consists of a character vector of translated words labelled by the words in the original language. If no translation is found, the given word in the original language is returned.
1 | ecoval.translate(word,dictionary)
|
word |
A single word to be translated. |
dictionary |
Vector of translated words labelled by the words in the original language. |
The function returns the translated word.
1 | ecoval.translate("x",c(x="X",y="Y",z="Z"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.