array_rearrange (original_array=X, flatten=c(2,3), position=1)
1 | array_rearrange(original_array, flatten = c(1), position = min(flatten))
|
original_array |
array to rearranged |
flatten |
dimensions to be flattened. |
position |
place /order/position of the new dimension |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.