character2integer: Character to numeric

View source: R/character2integer.R

character2integerR Documentation

Character to numeric

Description

Character to numeric

Usage

character2integer(x, na.strings = NULL, allow.double = FALSE, option = 0L)

Arguments

x

A character vector.

na.strings

A set of strings that shall be coerced to NA_integer_

allow.double

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.

option

Control behaviour:

0

Strip commas.


hutilscpp documentation built on Oct. 11, 2023, 9:06 a.m.