Description Usage Arguments Value Examples
This function returns the values or keys associated with the opposite value entered, e.g., if you enter a key, the function will return all of its values, and vice versa.
1 | echoDictionaryEntry(mydic, key = "", val = "")
|
mydic |
A data.frame with columns "key" and "val" |
key |
A search value for the "key" column |
val |
A search value for the "val" column |
This function returns a vector of response values
1 2 | testdic <- data.frame(key=c("<key1>", "<key2>"), val=c("a", "b"), stringsAsFactors=F)
echoDictionaryEntry(testdic, "key1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.