Skip to main content

builtin_strtoi

Function builtin_strtoi 

Source
fn builtin_strtoi(
    args: &[RValue],
    named: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Convert strings to integers using a specified base (radix).

Vectorized over x.

@param x character vector: the strings to parse @param base integer scalar: the radix (default 10) @return integer vector, NA where parsing fails