Learn R Programming

jwutil (version 1.1.1)

flattenList: flatten a list

Description

unlike unlist, this function returns a list of objects of different data types, but removes any depth

Usage

flattenList(..., na.rm = FALSE)

Arguments

...

list or any set of objects which will be made into a list, may include lists and nested lists

na.rm

will drop NA values if TRUE

Value

list without nested lists, objects with preserved data types