1 2 | char2number(init.string, chars.list = "NULL", num.list = "NULL",
mod.machine.int = FALSE)
|
init.string |
character string to be converted |
chars.list |
list of characters to be replaced. Default is c('a',...,'z','A',...,'Z') |
num.list |
list of numbers to replace characters in chars.list. Default is seq(from = 1, to = 52, by = 1) |
mod.machine.int |
bool to return the full number (default = FALSE) or the full number modulus the integer range of the machine (set to TRUE). |
a string containing a number. Need to use as.numeric() Currently only supports a-zA-z and removes spaces char2number('a') char2number("Hello World")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.