list_to_dataframe: Converts list to a dataframe in a sensible way

View source: R/b_grid.R

list_to_dataframeR Documentation

Converts list to a dataframe in a sensible way

Description

Given a list of dataframes with the same columns, this function will row bind them together, and if passed a col_name arguement, will produce a column containing their original element name

Usage

list_to_dataframe(l, col_name = NULL)

Arguments

l

list of dataframes to be converted into single dataframe

col_name

(optional) name of column to put element names under

Value

dataframe


platetools documentation built on May 29, 2024, 8:43 a.m.