Learn R Programming

SwimmeR (version 0.14.2)

undo_interleave: Undoes interleaving of lists

Description

If two lists have been interleaved this function will return the lists separated and then concatenated

Usage

undo_interleave(x)

Value

a list comprising the interleaved components of x joined into one list

Arguments

x

a list to be un-interleaved

Examples

Run this code
l <- c("A", "D", "B", "E", "C", "F")
undo_interleave(l)

Run the code above in your browser using DataLab