Description Usage Arguments Value Author(s) See Also Examples
stacks a dimension of an array, i.e. reduces to a lower dimension
1 2  | twStackArrayDim(x, sourceDim = length(dim(x)), destDim = length(dim(x)) - 
    1, sep = "_")
 | 
x | 
 the array to process  | 
sourceDim | 
 the dimension that should be stacked  | 
destDim | 
 the dimension, along which to stack, referring to the resulting array  | 
sep | 
 character separating the parts of the new dimension names  | 
Array of one dimension less than x. Dimnames are concatenaed names of the sourceDim and the original destDim
Thomas Wutzler
twExtractDim, twMisc
1  | #twStackArrayDim()
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.