list_bind_all: Bind all elements together and extract them.

View source: R/list_bind.R

list_bind_allR Documentation

Bind all elements together and extract them.

Description

Bind all elements together and extract them.

Usage

list_bind_all(in_list, what = "rows")

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.

Value

All elements in the list bound together.

Examples

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)

listr documentation built on Oct. 6, 2022, 5:11 p.m.