Description Usage Arguments Value Examples
Extract numerical values from a string
1 | numeric.extract(x, sep = " ")
|
x |
character string; |
sep |
character; 0 or 1 characters |
numeric []
1 2 3 4 5 | # sep = " " insists on exactly one space between numbers
Rflow:::numeric.extract("1 2 3", " ")
# sep = "" allows any amount of white space between numbers
Rflow:::numeric.extract("1 2 3", "")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.