Simple Functions to Save Time and Memory


[Up] [Top]

Documentation for package ‘cheapr’ version 0.9.92

Help Pages

A B C D E F G I L N O R S U V W misc

cheapr-package cheapr: Simple Functions to Save Time and Memory

-- A --

all_na Efficient functions for dealing with missing values.
any_na Efficient functions for dealing with missing values.
as_discrete Turn continuous data into discrete bins
as_discrete.integer64 Turn continuous data into discrete bins
as_discrete.numeric Turn continuous data into discrete bins
as_factor A cheaper version of 'factor()' along with cheaper utilities

-- B --

bin A sometimes cheaper but argument richer alternative to '.bincode()'

-- C --

case A cheapr case-when and switch
cheapr cheapr: Simple Functions to Save Time and Memory
cheapr_if_else Cheaper version of 'ifelse()'
cheapr_rev Extra utilities
cheapr_var Extra utilities
col_all_na Efficient functions for dealing with missing values.
col_any_na Efficient functions for dealing with missing values.
col_na_counts Efficient functions for dealing with missing values.
count_val Efficient functions for counting, finding, replacing and removing scalars
cut_numeric Extra utilities

-- D --

deframe_ Extra utilities

-- E --

enframe_ Extra utilities

-- F --

factor_ A cheaper version of 'factor()' along with cheaper utilities

-- G --

gcd Greatest common divisor and smallest common multiple
gcd2 Greatest common divisor and smallest common multiple
get_breaks Pretty break-points for continuous (numeric) data
get_breaks.integer64 Pretty break-points for continuous (numeric) data
get_breaks.numeric Pretty break-points for continuous (numeric) data

-- I --

intersect_ Extra utilities
is_na Efficient functions for dealing with missing values.
is_na.data.frame Efficient functions for dealing with missing values.
is_na.default Efficient functions for dealing with missing values.
is_na.POSIXlt Efficient functions for dealing with missing values.
is_na.vctrs_rcrd Efficient functions for dealing with missing values.

-- L --

lag2_ Lagged operations.
lag_ Lagged operations.
lag_sequence Utilities for creating many sequences
lead_sequence Utilities for creating many sequences
lengths_ List utilities
levels_add A cheaper version of 'factor()' along with cheaper utilities
levels_add_na A cheaper version of 'factor()' along with cheaper utilities
levels_count A cheaper version of 'factor()' along with cheaper utilities
levels_drop A cheaper version of 'factor()' along with cheaper utilities
levels_drop_na A cheaper version of 'factor()' along with cheaper utilities
levels_factor A cheaper version of 'factor()' along with cheaper utilities
levels_lump A cheaper version of 'factor()' along with cheaper utilities
levels_rename A cheaper version of 'factor()' along with cheaper utilities
levels_reorder A cheaper version of 'factor()' along with cheaper utilities
levels_rm A cheaper version of 'factor()' along with cheaper utilities
levels_unused A cheaper version of 'factor()' along with cheaper utilities
levels_used A cheaper version of 'factor()' along with cheaper utilities

-- N --

named_list Turn dot-dot-dot ('...') into a named list
na_count Efficient functions for counting, finding, replacing and removing scalars
na_find Efficient functions for counting, finding, replacing and removing scalars
na_insert Extra utilities
na_replace Efficient functions for counting, finding, replacing and removing scalars
na_rm Efficient functions for counting, finding, replacing and removing scalars
new_df Fast data frame constructor
new_list List utilities
num_na Efficient functions for dealing with missing values.

-- O --

overview An alternative to 'summary()' inspired by the skimr package
overview.character An alternative to 'summary()' inspired by the skimr package
overview.data.frame An alternative to 'summary()' inspired by the skimr package
overview.Date An alternative to 'summary()' inspired by the skimr package
overview.default An alternative to 'summary()' inspired by the skimr package
overview.factor An alternative to 'summary()' inspired by the skimr package
overview.integer An alternative to 'summary()' inspired by the skimr package
overview.integer64 An alternative to 'summary()' inspired by the skimr package
overview.logical An alternative to 'summary()' inspired by the skimr package
overview.numeric An alternative to 'summary()' inspired by the skimr package
overview.POSIXt An alternative to 'summary()' inspired by the skimr package
overview.ts An alternative to 'summary()' inspired by the skimr package
overview.zoo An alternative to 'summary()' inspired by the skimr package

-- R --

recycle Recycle objects to a common size
row_all_na Efficient functions for dealing with missing values.
row_any_na Efficient functions for dealing with missing values.
row_na_counts Efficient functions for dealing with missing values.

-- S --

sample_ Extra utilities
scm Greatest common divisor and smallest common multiple
scm2 Greatest common divisor and smallest common multiple
sequence_ Utilities for creating many sequences
seq_ Utilities for creating many sequences
seq_id Utilities for creating many sequences
seq_size Utilities for creating many sequences
setdiff_ Extra utilities
set_abs Math operations by reference - *Experimental*
set_add Math operations by reference - *Experimental*
set_ceiling Math operations by reference - *Experimental*
set_change_sign Math operations by reference - *Experimental*
set_divide Math operations by reference - *Experimental*
set_exp Math operations by reference - *Experimental*
set_floor Math operations by reference - *Experimental*
set_log Math operations by reference - *Experimental*
set_multiply Math operations by reference - *Experimental*
set_pow Math operations by reference - *Experimental*
set_round Math operations by reference - *Experimental*
set_sqrt Math operations by reference - *Experimental*
set_subtract Math operations by reference - *Experimental*
set_trunc Math operations by reference - *Experimental*
sset Cheaper subset
sset.data.frame Cheaper subset
sset.data.table Cheaper subset
sset.Date Cheaper subset
sset.factor Cheaper subset
sset.POSIXct Cheaper subset
sset.POSIXlt Cheaper subset
sset.sf Cheaper subset
sset.tbl_df Cheaper subset

-- U --

unlisted_length List utilities
unused_levels A cheaper version of 'factor()' along with cheaper utilities
used_levels A cheaper version of 'factor()' along with cheaper utilities

-- V --

val_count Efficient functions for counting, finding, replacing and removing scalars
val_find Efficient functions for counting, finding, replacing and removing scalars
val_insert Extra utilities
val_match A cheapr case-when and switch
val_replace Efficient functions for counting, finding, replacing and removing scalars
val_rm Efficient functions for counting, finding, replacing and removing scalars
vector_length Extra utilities

-- W --

which_ Memory-efficient alternative to 'which()'
which_na Efficient functions for dealing with missing values.
which_not_na Efficient functions for dealing with missing values.
which_val Efficient functions for counting, finding, replacing and removing scalars
window_sequence Utilities for creating many sequences
with_local_seed Extra utilities

-- misc --

%!in_% Extra utilities
%in_% Extra utilities