Learn R Programming

ubiquity (version 1.0.0)

toc: Implementation of Matlab toc() command

Description

Used in conjunction with tic() to find the elapsed time when code is executed. Adapted from: http://stackoverflow.com/questions/1716012/stopwatch-function-in-r

Usage

toc()

Arguments

Value

time in seconds since tic() was called

See Also

tic

Examples

Run this code
# NOT RUN {
tic()
Sys.sleep(3)
toc()
# }

Run the code above in your browser using DataLab