| parsenum | R Documentation |
Parse text as numbers
parsenum(x, decimal = ".", grouping = ",", na = character(), strict = FALSE)
x |
An atomic vector. |
decimal |
Decimal mark used in the input strings. |
grouping |
Thousands-grouping mark used in the input strings. |
na |
Values treated as missing before parsing. |
strict |
Raise an error if any non-missing value fails to parse. |
A numeric vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.