sumDims2 {IGCities} | R Documentation |
Collapse array 2 along one of the dimensions by adding the elements along that dimension.
Description
Collapse array 2 along one of the dimensions by adding the elements along that dimension.
Usage
sumDims2(array, dimension)
Arguments
array |
Array to collapse along one dimension. |
dimension |
Dimension to collapse the array. |
Value
An array that has been collapsed along the given dimension.
[Package IGCities version 0.2.0 Index]