Collapse an array from a CrunchCube by summing
This is an internal function that powers dimSums()
collapse_dims(array_in, margins_to_collapse, collapsed_items)
margins_to_collapse |
the margins that should be collapsed |
collapsed_items |
vector of logicals if any of the dimensions in
|
array |
the array from a CrunchCube to collapse |
margins_to_keep |
the margins that should be kept |
a duly-collapsed array
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.