| slow_sum | R Documentation |
Slowly Calculate Sum of Elements
slow_sum(
x,
delay = getOption("progressr.demo.delay", 1),
stdout = FALSE,
message = TRUE,
sticky = TRUE
)
x |
Numeric vector to sum |
delay |
Delay in seconds after each addition. |
stdout |
If TRUE, then a text is outputted to the standard output per element. |
message |
If TRUE, then a message is outputted per element. |
sticky |
If TRUE, then a "sticky" message is outputted every ten element. |
The sum of all elements in x.
This function signals progression conditions as it progresses.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.