unlist_df: Combine dataframes in a list by rows

Description Usage Arguments Examples

Description

This function returns the elements of a list of dataframes as one single dataframe (combined by rows, i.e. all dataframes must have the same number of columns).

Usage

1
unlist_df(dflist = NULL)

Arguments

dflist

A list of dataframes

Examples

1
2
3
4
a_df <- data.frame(a=c(101,202), b=1:2, c=c("A", "B"))
b_df <- data.frame(a=c(303,404), b=3:4, c=c("C", "D"))
test <- list("a"=a_df, "b"=b_df)
unlist_df(test)

johow/kinlab documentation built on July 5, 2019, 4:23 p.m.