Description Usage Arguments Value Examples
View source: R/UTIL-Time_remaining.R
This function iterates a time remaining indicator. It should not be called manually, rather the function returned from time_remaining_start
should be used.
1 | time_remaining_print(current_scan = NULL, envir = NULL)
|
current_scan |
The current scan number. |
The environment containing the timing parameters.
1 2 3 4 5 6 7 8 | time_remaining_start(10)
f <- time_remaining_start(10)
for (i in 1:10) {
Sys.sleep(1)
f(i)
Sys.sleep(1)
f()
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.