list_rbind: Bind list by row into data.frame

Description Usage Arguments Value

View source: R/help.R

Description

Bind by row a list of data.frame with the same ncol into data.frame. In particular, if the input is a list of vector-like objects (e.g. numeric, atomic, double, etc), each unit of list will be coerced into row vector. In addition, the function allows to save list names if needed.

Usage

1
list_rbind(x, save.names = FALSE)

Arguments

x

list, all elements are vectors of the same length or array of the same column size

save.names

logical or character, if not FALSE, save list names into an new column

Value

a data.frame.


fchen365/surf documentation built on June 18, 2021, 12:02 p.m.