Skip to contents

Converts a two-dimensional list to a data frame by applying ldply across the top-level elements.

Usage

flatten_list(mydata)

Arguments

mydata

A list where each element can be coerced to a data frame.

Value

A data frame combining all list elements row-wise, with an additional .id column containing the top-level list names.