Learn R Programming

listr (version 0.1.0)

list_bind_all: Bind all elements together and extract them.

Description

Bind all elements together and extract them.

Usage

list_bind_all(in_list, what = "rows")

Value

All elements in the list bound together.

Arguments

in_list

The list to work on.

what

Either 'rows' or 'cols'

Details

This a convenient wrapper around `list_bind` which selects everything in the list and extracts the result.

Examples

Run this code
dfl <- list(data.frame(idx = 1:20, y = rnorm(20)),
            data.frame(idx = 21:40, y = rnorm(20)),
            data.frame(idx = 41:60, y = rnorm(20)))
list_bind_all(dfl)

Run the code above in your browser using DataLab