View source: R/089_atoms_sum_smallest.R
| sum_smallest | R Documentation |
Sum of k smallest entries
sum_smallest(x, k, axis = NULL, keepdims = FALSE)
x |
An Expression |
k |
Number of smallest entries to sum |
axis |
NULL (all entries), 1 (row-wise), or 2 (column-wise) |
keepdims |
Logical; keep the reduced dimension as size 1 |
An Expression equal to -SumLargest(-x, k)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.