deltime: Timing function

View source: R/graphics.R

deltimeR Documentation

Timing function

Description

Timing function

Usage

deltime(ltime = proc.time()["elapsed"], text = NULL, units = FALSE, nl = FALSE)

deltimeT(ltime, text)

Arguments

ltime

Result of last call to deltime.

text

Text to display along with elapsed time since ltime.

units

Logical. If TRUE, print units

nl

Logical. If TRUE, a newline is added at the end.

Value

"elapsed" component of current proc.time.

Functions

  • deltimeT(): A shortcut frequent use. Requires ltime and text parameters, includes units, and adds a newline after message.


clustra documentation built on Oct. 14, 2023, 9:15 a.m.