Learn R Programming

PTXQC (version 1.0.4)

flattenList: Flatten lists of lists with irregular depths to just a list of items, i.e. a list of the leaves (if you consider the input as a tree).

Description

Flatten lists of lists with irregular depths to just a list of items, i.e. a list of the leaves (if you consider the input as a tree).

Usage

flattenList(x)

Arguments

x

List of 'stuff' (could be lists or items or a mix)

Value

A flat list