powered by
Extract numeric values from x
extract_numeric(x)
object containing numeric (and other) values
Numeric values from the object
# NOT RUN { extract_numeric(c("7+5", "abc123")) ## c(75, 123) # }
Run the code above in your browser using DataLab