PrintEstimatedRemainingTime: Estimated remaining time

View source: R/ToolsFct.R

PrintEstimatedRemainingTimeR Documentation

Estimated remaining time

Description

Prints the estimated remaining time in a loop. Useful in Monte Carlo simulations.

Usage

PrintEstimatedRemainingTime(ActualIter, ActualIterStartTime, TotalIterNbr)

Arguments

ActualIter

Actual Iteration; integer

ActualIterStartTime

Actual Iteration Starting time; numeric

TotalIterNbr

Total number of iterations; integer

Details

Called at the end of each Monte Carlo step, this function will compute the duration of the actual step, an estimate of the remaining MC loops duration and prints the result to the screen in a human readable format using function PrintDuration.

See Also

PrintDuration, ComputeDuration.


StableEstim documentation built on Aug. 7, 2022, 5:17 p.m.