Description Usage Arguments Value References Examples
View source: R/array_munging.R
Split Multidimeninal array to a list along a specified dimension
1 | split_along_dim(a, n)
|
a |
array |
n |
dimention of array to split |
List of array of 1 less dimension than a
https://stackoverflow.com/questions/20198751/three-dimensional-array-to-list
1 2 | a <- array(1:prod(4:6), dim=4:6)
split_along_dim(a, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.