character_to_list_of_integer_vectors {assertive.strings}R Documentation

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

## Not run: 
character_to_list_of_integer_vectors(c("123", "4567a"))

## End(Not run)

[Package assertive.strings version 0.0-3 Index]