Convert strings to numeric after normalising minus signs and stripping digit grouping separators
Source:R/OncReg.R
OR.as.numeric.RdReplaces Unicode minus signs ("\u2212") with ASCII "-", removes either
commas or spaces used as digit grouping (thousands) separators, then converts
the result to numeric. Non-convertible values return NA with warnings
suppressed.
See also
Other basic:
OR.0.rm(),
OR.F.to.NA(),
OR.NA.rm(),
OR.NA.to.0(),
OR.NA.to.F(),
OR.NA.to.empty(),
OR.string.to.binary()