list.cbind: Bind all list elements by column

View source: R/list.do.R

list.cbindR Documentation

Bind all list elements by column

Description

The function binds all list elements by column. Each element of the list is expected to be an atomic vector, data.frame, or data.table of the same length. If list elements are also lists, the binding will flatten the lists and may produce undesired results.

Usage

list.cbind(.data)

Arguments

.data

list

See Also

list.cbind, list.stack

Examples

x <- list(data.frame(i=1:5,x=rnorm(5)),
   data.frame(y=rnorm(5),z=rnorm(5)))
list.cbind(x)

renkun-ken/rlist documentation built on March 16, 2023, 8:25 p.m.