Learn R Programming

StableEstim (version 2.4)

PrintDuration: Print duration

Description

Print duration in human readable format.

Usage

PrintDuration(t, CallingFct = "")

Value

Prints a character to the screen.

Arguments

t

Duration; numeric of length 1 or 3.

CallingFct

Name of the calling function.

Details

The duration will be printed in the format: hours/minutes/seconds.

Examples

Run this code
ti <- getTime_()
for (i in 1:100) x = i*22.1
tf <- getTime_()
duration <- ComputeDuration(ti, tf)
PrintDuration(duration, "test")

Run the code above in your browser using DataLab