View source: R/help_cost_analysis_functions.R
word2num | R Documentation |
Function to check the variable null or NA
word2num(word)
word |
word for the number |
https://stackoverflow.com/questions/18332463/convert-written-number-to-number-in-r
return the number
answer <- word2num("one forty one")
answer <- word2num("forty one and five hundred")
answer <- word2num("five thousand two hundred and eight")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.