Learn R Programming

ubiquity (version 2.1.0)

toc: Implementation of Matlab toc() command

Description

Used in conjunction with tic() to find the elapsed time when code is executed.

Usage

toc()

Arguments

Value

time in seconds since tic() was called

See Also

tic

Examples

Run this code
tic()
Sys.sleep(3)
toc()

Run the code above in your browser using DataLab