replace_dictionary_values | R Documentation |
Internal function to replace dictionary values
replace_dictionary_values(dict, from, to)
dict |
a dictionary object |
dict <- list(KEY1 = list(SUBKEY1 = list("A_B"),
SUBKEY2 = list("C_D")),
KEY2 = list(SUBKEY3 = list("E_F"),
SUBKEY4 = list("G_F_I")),
KEY3 = list(SUBKEY5 = list(SUBKEY7 = list("J_K")),
SUBKEY6 = list(SUBKEY8 = list("L"))))
quanteda:::replace_dictionary_values(dict, "_", " ")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.