gnn (version 0.0-2)

human_time: Time Measurement with Human-Readable Units

Description

system.time() with human-readable output.

Usage

human_time(..., digits = 2)

Arguments

arguments passed to the underlying system.time().

digits

for rounding the output; see round().

Value

Timings with units indicated.

Examples

Run this code
# NOT RUN {
human_time(Sys.sleep(1))
# }

Run the code above in your browser using DataLab