as_number | R Documentation |
Takes a string and removes all comma delimeters and '%' signs, before converting to a numerical format.
as_number(x)
x |
A formatted number string |
as_number("1,000") # returns 1000
as_number("10%") # returns 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.