stack: Stack a List of Vectors or Matrices

Description Usage Arguments Value

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/hortonlib documentation built on May 9, 2019, 8:19 a.m.