Learn R Programming

astro (version 1.2)

eta: Calculate ETA of a For-Loop

Description

Calculates an ETA of a for-loop completing the loop, based on how many loops are left, and the start time of the first loop.

Usage

eta(i, total, start)

Arguments

i
current element
total
total number of elements
start
start processor time (seconds)

Details

The start time is best given by 'proc.time()[3]'.

See Also

The astronomy package: astro.