assertive.strings (version 0.0-3)

character_to_list_of_integer_vectors: Convert a character vector to a list of integer vectors

Description

Split strings by character, then convert to numbers

Usage

character_to_list_of_integer_vectors(x)

Arguments

x
Input to convert.

Value

A list of numeric vectors.

See Also

strsplit and as.integer.

Examples

Run this code
## Not run: 
# character_to_list_of_integer_vectors(c("123", "4567a"))
# ## End(Not run)

Run the code above in your browser using DataLab