Simple Functions to Save Time and Memory
A cheaper version of factor()
along with cheaper utilities
Greatest common divisor and smallest common multiple
Pretty break-points for continuous (numeric) data
Efficient functions for dealing with missing values.
Lagged operations.
List utilities
Fast data frame constructor
An alternative to summary()
inspired by the skimr package
Recycle objects to a common size
Memory-efficient alternative to which()
cheapr: Simple Functions to Save Time and Memory
Turn dot-dot-dot (...
) into a named list
Extra utilities
Turn continuous data into discrete bins
A sometimes cheaper but argument richer alternative to .bincode()
A cheapr case-when and switch
Cheaper version of ifelse()
Efficient functions for counting, finding, replacing and removing scal...
Utilities for creating many sequences
Math operations by reference - Experimental
Cheaper subset
Fast and memory-efficient (or 'cheap') tools to facilitate efficient programming, saving time and memory. It aims to provide 'cheaper' alternatives to common base R functions, as well as some additional functions.