list.cbind: Bind all list elements by column

Description Usage Arguments See Also Examples

View source: R/list.do.R

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

1

Arguments

.data

list

See Also

list.cbind, list.stack

Examples

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

rlist documentation built on May 30, 2017, 6:58 a.m.

Search within the rlist package
Search all R packages, documentation and source code