toc: Time difference end function
Description
Use this function together with tic() to control time spent by functions
Usage
toc(units = "secs", digits = 2)
Arguments
- units
character, one of "auto", "secs", "mins", "hours", "days" and "weeks"
- digits
integer, number of decimals