Description Usage Arguments Value Examples
to_string
extracts the numbers in a character
vector and returns the extracted numbers as a numeric
vector.
1 | to_numeric(strings)
|
strings |
Character vector |
Returns a vector of class "numeric".
1 2 | strings <- c("FO23_43", "F10.4", "what3,00.", "what3..0..")
to_numeric(strings)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.