sumDims | R Documentation |
Collapse array along one of the dimensions by adding the elements along that dimension.
sumDims(array, dimension)
array |
Array to collapse along one dimension. |
dimension |
Dimension to collapse the array. |
An array that has been collapsed along the given dimension.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.