tock: Stop timer

Description Usage Arguments Value Author(s) See Also Examples

View source: R/tock.R

Description

Stop timer and write the computation in seconds since the last call of tick().

Usage

1
tock(txt = "")

Arguments

txt

optional custom text to be displayed

Value

None

Author(s)

Danail Obreschkow

See Also

tick

Examples

1
2
3
tick('Sum 10 million random numbers')
x = sum(runif(1e7))
tock()

docore documentation built on Feb. 1, 2022, 5:06 p.m.

Related to tock in docore...