Description Usage Arguments Value
View source: R/array_transform.R
mergeDims
reshapes an array by merging user-specified dimensions
1 |
dat |
array to reshape |
dims |
list of dimension names or dimension indices to merge. Can be a vector if only one group of dimensions should be merged. If any of the list elements is a character vector, dat must have named dimnames. |
return_attributes |
logical value (default: TRUE) whether original attributes should be appended to the resulting array |
keep_dimnames |
logical; if TRUE (default), dimension names are also merged and attached as dimnames attribute |
sep |
character which separates dimension names after merging (default ".") |
Array with merged dimensions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.