Character to numeric
character2integer(x, na.strings = NULL, allow.double = FALSE, option = 0L)
A character vector.
A set of strings that shall be coerced to NA_integer_
logical(1)
If TRUE
, a double vector may be returned.
If FALSE
, an error will be emitted. If NA
, numeric values outside
integer range are coerced to NA_integer_
, silently.
Control behaviour:
Strip commas.