Skip to main content

builtin_as_character

Function builtin_as_character 

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

Coerce an object to character (string).

For factors, maps integer codes back to level labels rather than stringifying the codes.

@param x object to coerce @return character vector