Learn R Programming

ganalytics (version 0.10.7)

flatten: flatten.

Description

Flatten a nested list while preserving the class of each element Convert a list type object into a non-nested list, preserving the original object classes.

Usage

flatten(x)

Arguments

x

a list type object to flatten.

Value

a list

References

https://stackoverflow.com/a/8139959/1007029