make_code_table | R Documentation |
Make a hash table for code.
make_code_table(code, from = 1, to = 2)
code |
Mapping from characters to code words. Each element is a vector of two strings. |
from |
Index of the character in the element of |
to |
Index of the code word in the element of |
The hash table for code.
morse:::make_code_table(list(c("a", "1"), c("b", "2"))) morse:::make_code_table(list(c("a", "1"), c("b", "2")), from = 2, to = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.