extract_numeric {dateutils} | R Documentation |
Extract numeric values
Description
Extract numeric values from x
Usage
extract_numeric(x)
Arguments
x |
object containing numeric (and other) values |
Value
Numeric values from the object
Examples
extract_numeric(c("7+5", "abc123")) ## c(75, 123)
[Package dateutils version 0.1.5 Index]