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.63 score 11 stars 54 dependents 13k scripts 19k downloadsbinr - Cut Numeric Values into Evenly Distributed Groups
Package binr (pronounced as "binner") provides 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
5.78 score 11 stars 4 dependents 91 scripts 725 downloads