Learn R Programming

SeBR (version 1.1.0)

computeTimeRemaining: Estimate the remaining time in the algorithm

Description

Estimate the remaining time in the algorithm

Usage

computeTimeRemaining(nsi, timer0, nsims, nprints = 2)

Value

estimate of remaining time

Arguments

nsi

current iteration

timer0

initial timer value from proc.time()[3]

nsims

total number of simulations

nprints

total number of printed updates