timer: Start Stop clock to measure performance

ticR Documentation

Start Stop clock to measure performance

Description

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

Usage

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

## Not run: 
tic()
Sys.sleep(1)
toc

## End(Not run)

Jmisc documentation built on June 22, 2022, 9:09 a.m.

Related to timer in Jmisc...