stack: Stack a List of Vectors or Matrices

Description Usage Arguments Value

View source: R/utility_ramses.R

Description

Takes a list of vectors or matrices and returns one vector or matrix along with a vector that specifies the first indices corresponding to the original elements.

Usage

1
stack(x)

Arguments

x

list of vectors or matrices with the same number of columns

Value

a list containing the stacked object and a vector of indices the specify where each of the original elements begins.


wzhorton/ramses documentation built on May 17, 2019, 1:03 p.m.