You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
extract_numeric("23 ft-lbs")
[1] NA
Warning message:
In extract_numeric("23 ft-lbs") : NAs introduced by coercion
The minus sign in the regex is maybe good for "-123" but leads to errors too.
extract_numeric("-123") returns 123, because all it does is strip anything not 0-9 or decimal point.
Its documentation is pretty thin too.
discussion here:
http://stackoverflow.com/questions/25291191/can-extract-numeric-deal-with-negative-numbers
The text was updated successfully, but these errors were encountered: