undo_interleave {SwimmeR}R Documentation

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)

Arguments

x

a list to be un-interleaved

Value

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

Examples

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

[Package SwimmeR version 0.14.2 Index]