View source: R/dthelper-simulation.R
track.time | R Documentation |
Typically used in a loop. Reports progress at every 10
track.time(i, niter, start, track = TRUE)
i |
Iteration number |
niter |
Total number of iterations in loop |
start |
Start time of loop. Use Sys.time() to get start time |
track |
If set to TRUE, reports progress at every 10% interval |
None. Prints out time differences
start = Sys.time() for(i in 1:100){ track.time(i, 100, start) } start = Sys.time() for(i in 1:100){ track.time(i, 100, start, track =F) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.