progressively | R Documentation |
This function helps add progress-reporting to any function - given function f()
and progressr p()
, it will return a new function that calls f()
and then (on-exiting) will call p()
after every iteration.
progressively(f, p = NULL)
f |
a function to add progressr functionality to. |
p |
a progressr function as created by |
This is inspired by purrr's safely
, quietly
, and possibly
function decorators.
a function that does the same as f
but it calls p()
after iteration.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.