Stop timer and write the computation in seconds since the last call of tick().
Usage
tock(txt = "", fmt = " (%.2fs). %s\n")
Value
Returns the elapsed time in seconds since calling tick().
Arguments
txt
custom text to be displayed
fmt
character vector of format strings. It must contain exactly one %s as placeholder for txt and one numerical format, such as %f or %e, as placeholder for the time