dtime {bruceR}R Documentation

Timer (compute time difference).

Description

Timer (compute time difference).

Usage

dtime(t0, unit = "secs", digits = 0, nsmall = digits)

Arguments

t0

Time at the beginning.

unit

Options: "auto", "secs", "mins", "hours", "days", "weeks". Default is "secs".

digits, nsmall

Number of decimal places of output. Default is 0.

Value

A character string of time difference.

Examples

t0=Sys.time()
dtime(t0)


[Package bruceR version 0.8.0 Index]