character_to_list_of_integer_vectors
Convert a character vector to a list of integer vectors
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
library(assertive.strings)
## Not run:
# character_to_list_of_integer_vectors(c("123", "4567a"))
# ## End(Not run)
Community examples
Looks like there are no examples yet.