timer: Start Stop clock to measure performance

Description Usage Arguments Author(s) Examples

Description

Start/clock to measure performance. Same as tic and toc in matlab

Usage

1
2
3
tic(name = ".time_Jmisc", envir = .GlobalEnv)

toc()

Arguments

name

Name of the temporary time variable

envir

environment of the temporary time variable

Author(s)

TszKin Julian Chan ctszkin@gmail.com

Examples

1
2
3
4
5
6
## Not run: 
tic()
Sys.sleep(1)
toc

## End(Not run)

Jmisc documentation built on May 30, 2017, 6:21 a.m.

Related to timer in Jmisc...