powered by
toc()
Used in conjunction with tic() to find the elapsed time when code is executed.
tic()
time in seconds since tic() was called
tic
tic() Sys.sleep(3) toc()
Run the code above in your browser using DataLab