tictoc - Functions for Timing R Scripts, as Well as Implementations of "Stack" and "StackList" Structures
Code execution timing functions 'tic' and 'toc' that can be nested. One can record all timings while a complex script is running, and examine the values later. It is also possible to instrument the timing calls with custom callbacks. In addition, this package provides class 'Stack', implemented as a vector, and class 'StackList', which is a stack implemented as a list, both of which support operations 'push', 'pop', 'first_element', 'last_element' and 'clear'.
Last updated 10 months ago
10.17 score 7 stars 43 dependents 12k scripts 14k downloadsbinr - Cut Numeric Values into Evenly Distributed Groups
Implementation of algorithms for cutting numerical values exhibiting a potentially highly skewed distribution into evenly distributed groups (bins). This functionality can be applied for binning discrete values, such as counts, as well as for discretization of continuous values, for example, during generation of features used in machine learning algorithms.
Last updated 7 years ago
5.67 score 11 stars 4 dependents 71 scripts 437 downloads