stack_list: Stacks a list of vectors, lists, or data frames

Description Usage Arguments Details Value

Description

Stacks a list of vectors, lists, or data frames into a tibble with key and value columns, us

Usage

1

Arguments

xl

list of vectors, lists, or data frames

Details

Stacks a vector or list into key and value columns, where key takes the names of the elements, if the names are null, assigns names.

Stacks a list of vectors into key and value columns, where key takes the names of the elements, if the names are null, assigns names.

Stacks a data frame or list of vectors of the same length into key, key2, and value columns, where key and key2 are the column and row names of the first element of xl. If names are null, assigns names.

Value

tibble with key, and value as columns; key2 if list of data frames. key and key2 are not factors.


patr1ckm/distributr documentation built on May 24, 2019, 8:21 p.m.