Learn R Programming

PTXQC (version 1.1.2)

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)

Value

A flat list

Arguments

x

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