| ag_sum | R Documentation |
Sum all elements (or along a dim): out = sum(x)
ag_sum(x, dim = NULL, keepdim = FALSE)
x |
ag_tensor |
dim |
NULL (all), 1 (row-wise), or 2 (col-wise) |
keepdim |
Logical: keep size-1 dimensions |
scalar (or reduced) ag_tensor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.