# Simple Functions to Save Time and Memory

## Documentation for package ‘cheapr’ version 1.3.1

- DESCRIPTION file.
- Package NEWS.

## 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 --

address | Memory address of R object
all_na | Efficient functions for dealing with missing values.
any_na | Efficient functions for dealing with missing values.
as_df | Cheap data frame utilities
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
attrs | Add and remove attributes
attrs_add | Add and remove attributes
attrs_clear | Add and remove attributes
attrs_modify | Add and remove attributes
attrs_rm | Add and remove attributes

## -- 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_c | A cheapr version of 'c()'
cheapr_if_else | Cheaper version of 'ifelse()'
cheapr_rep | cheapr style repeat functions
cheapr_rep_each | cheapr style repeat functions
cheapr_rep_len | cheapr style repeat functions
cheapr_rev | Extra utilities
cheapr_table | Fast frequency tables - Still experimental
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_c | Cheap data frame utilities
col_na_counts | Efficient functions for dealing with missing values.
copy | Copy R objects
counts | Fast frequency tables - Still experimental
cut_numeric | Extra utilities

## -- D --

deep_copy | Copy R objects
deframe_ | Extra utilities
df_modify | Cheap data frame utilities

## -- E --

enframe_ | Extra utilities

## -- F --

factor_ | A cheaper version of 'factor()' along with cheaper utilities
fast_df | Cheap data frame 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.default | 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
int_sign | A fast and integer-based 'sign()'
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
list_assign | List utilities
list_as_df | Cheap data frame utilities
list_combine | List utilities
list_drop_null | List utilities
list_lengths | List utilities
list_modify | List utilities

## -- N --

named_list | Turn dot-dot-dot ('...') into a named list
name_repair | Cheap data frame utilities
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 | Cheap data frame utilities
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 --

rebuild | Rebuild an object from a template
rebuild.data.frame | Rebuild an object from a template
rebuild.data.table | Rebuild an object from a template
recycle | Recycle objects to a common size
rep | cheapr style repeat functions
row_all_na | Efficient functions for dealing with missing values.
row_any_na | Efficient functions for dealing with missing values.
row_c | Cheap data frame utilities
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
semi_copy | Copy R objects
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*
shallow_copy | Copy R objects
sset | Cheaper subset
sset.data.frame | Cheaper subset
sset.POSIXlt | Cheaper subset
sset.sf | Cheaper subset
sset_col | Fast functions for data frame subsetting
sset_df | Fast functions for data frame subsetting
sset_row | Fast functions for data frame subsetting
str_coalesce | Coalesce character vectors

## -- U --

unique_name_repair | Cheap data frame utilities
unlisted_length | List 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