run_split: Split a String Into Run Chunks

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/run_split.R

Description

Splits a string into a vector of runs.

Usage

1

Arguments

x

A string.

Value

Returns a list of vectors.

Author(s)

Robert Reed and Tyler Rinker <tyler.rinker@gmail.com>.

References

http://stackoverflow.com/a/24319217/1000343

See Also

loc_split, split_vector

Examples

1
run_split(c("122333444455555666666", NA, "abbcccddddeeeeeffffff"))

qdapTools documentation built on May 30, 2017, 2:49 a.m.

Search within the qdapTools package
Search all R packages, documentation and source code