sumByDims | R Documentation |
Function to sum array by specified dimensions.
sumByDims(n, dims = 1)
n |
|
dims |
|
Uses the apply
function to sum over the requested dimension.
array with dimensions used for summing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.