toc: Time difference end function

View source: R/generics.R

tocR Documentation

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

Value

numeric


mcanigueral/dutils documentation built on Feb. 7, 2025, 12:33 a.m.