PrintDuration: Print duration

View source: R/ToolsFct.R

PrintDurationR Documentation

Print duration

Description

Print duration in human readable format.

Usage

PrintDuration(t, CallingFct = "")

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.

Value

Prints a character to the screen.

Examples

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

StableEstim documentation built on Oct. 30, 2024, 9:08 a.m.