stack.list: Stack a list of data.frames or matrices

Description Usage Arguments Details

View source: R/helpers.R

Description

Stack a list of data.frames or matrices that have the same number of columns

Usage

1
2
## S3 method for class 'list'
stack(x, ...)

Arguments

x

A list containing data.frames or matrices with the same number of columns

...

Additional arguments, currently unused.

Details

A rudimentary check is performed to see if the objects in x have the same number of columns. If so, rbind is used to stack them.


harrysouthworth/margarita documentation built on Aug. 19, 2021, 5 a.m.