sumDims {IGCities} | R Documentation |
Collapse array along one of the dimensions by adding the elements along that dimension.
Description
Collapse array along one of the dimensions by adding the elements along that dimension.
Usage
sumDims(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]