Description Usage Arguments Value Examples
View source: R/UTIL-Time_remaining.R
This function starts a time remaining indicator.
1 | time_remaining_start(max_scan)
|
max_scan |
The number of scans that will be performed during the time the indicator is shown. |
A function to be called with the current scan number
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.