Description Usage Arguments Value Examples
View source: R/translate_full.R
When you pass in a vector consisting of an English or Chinese words, this function will calls the Youdao translation open API for R to return the corresponding type of Chinese or English representation. Compare to translate function, this function can get more useful translation information.
1 |
x |
A vector made up of English or Chinese words |
A list made up of Chinese or English words
1 2 3 4 5 6 | # Example-1
translate_full("apple")
# Example-2
x <- c("apple", "banana", "pear", "I love you")
translate_full(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.