gettime | R Documentation |
gettime is a function designed to facilitate the measurement of time between intervals within R software that are expected to take a maximum of hours. It calculates the time as seconds elapsed from the start of each day. As long as the timing of events does not pass from one day to the next accurate results will be generated.
gettime()
the time in seconds from the start of a day
## Not run:
begin <- gettime()
for (i in 1:1e6) sqrt(i)
finish <- gettime()
print(finish - begin)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.