stack_x: Stack a simple vector or data frame into key and value...

Description Usage Arguments Details

Description

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

Usage

1

Arguments

x

a vector or data frame

Details

Stacks a list of vectors into key and value columns, where key names its elements automatically

Stacks a data frame into key (key2) and value columns, where key and key2 are the column and row names of x.


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