Description Usage Arguments Value Examples
Get sum of objects returned by a loop, added to a starting object.
1 | sum_loop_outputs(start_object, loop_vector, FUN, ...)
|
start_object |
The object to which the sum is to be added. |
loop_vector |
The vector to be looped over. |
FUN |
Function of the loop_vector values, returning the object to be added to |
... |
Any additional arguments to FUN. |
Sum of objects returned by a loop, added to starting object.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.