# Simple Functions to Save Time and Memory

## Documentation for package ‘cheapr’ version 1.5.2

- DESCRIPTION file
- Package NEWS
- Package README

## Help Pages

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

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

## -- A --

abs_ | Parallelised math operations
address | Memory address of R object
add_ | Parallelised math operations
all_na | Efficient functions for dealing with missing values.
any_na | Efficient functions for dealing with missing values.
archetype | Fast casting/coercing of R objects
archetype_common | Fast casting/coercing of R objects
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
cast | Fast casting/coercing of R objects
cast_common | Fast casting/coercing of R objects
ceiling_ | Parallelised math operations
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_sd | 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
cpp_rebuild | Low-level attribute re-constructor
c_ | A cheapr version of 'c()'

## -- D --

deep_copy | Copy R objects
df_modify | Cheap data frame utilities
divide_ | Parallelised math operations

## -- E --

exp_ | Parallelised math operations

## -- F --

factor_ | A cheaper version of 'factor()' along with cheaper utilities
fast_df | Cheap data frame utilities
floor_ | Parallelised math operations

## -- 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
get_max_threads | Get and set the number of OpenMP threads to be used in cheapr
get_threads | Get and set the number of OpenMP threads to be used in cheapr

## -- I --

if_else | Cheaper version of 'ifelse()'
if_else_ | Cheaper version of 'ifelse()'
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.
is_whole_number | Very fast check that numeric vector consists only of whole numbers

## -- 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
log10_ | Parallelised math operations
log_ | Parallelised math operations

## -- M --

math | Parallelised math operations
multiply_ | Parallelised math operations

## -- 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_init | Fast 'NA' initialisation
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
negate_ | Parallelised math operations
new_character | Fast multi-threaded vector initialisation
new_complex | Fast multi-threaded vector initialisation
new_df | Cheap data frame utilities
new_double | Fast multi-threaded vector initialisation
new_integer | Fast multi-threaded vector initialisation
new_list | List utilities
new_logical | Fast multi-threaded vector initialisation
new_raw | Fast multi-threaded vector initialisation
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

## -- P --

paste_ | Fast string concatenation using C++
pow_ | Parallelised math operations

## -- 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
rebuild.sf | Rebuild an object from a template
rebuild.tbl_df | Rebuild an object from a template
recycle | Recycle objects to a common size
rep | cheapr style repeat functions
replace | Fast vector replacement, an alternative to [<-
replace_ | Fast vector replacement, an alternative to [<-
rep_ | cheapr style repeat functions
rep_each_ | cheapr style repeat functions
rep_len_ | cheapr style repeat functions
rev_ | Extra utilities
round_ | Parallelised math operations
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.
r_type | Fast casting/coercing of R objects
r_type_common | Fast casting/coercing of R objects

## -- S --

sample_ | Extra utilities
scm | Greatest common divisor and smallest common multiple
scm2 | Greatest common divisor and smallest common multiple
sd_ | Extra utilities
semi_copy | Copy R objects
sequences | Utilities for creating many sequences
sequence_ | Utilities for creating many sequences
seq_ | Utilities for creating many sequences
seq_end | Utilities for creating many sequences
seq_id | Utilities for creating many sequences
seq_increment | Utilities for creating many sequences
seq_size | Utilities for creating many sequences
seq_start | 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_threads | Get and set the number of OpenMP threads to be used in cheapr
set_trunc | Math operations by reference - *Experimental*
shallow_copy | Copy R objects
signif_ | Parallelised math operations
sign_ | Parallelised math operations
sqrt_ | Parallelised math operations
sset | Cheaper subset 'sset()'
sset_col | Fast functions for data frame subsetting
sset_df | Fast functions for data frame subsetting
sset_row | Fast functions for data frame subsetting
strings | Fast string concatenation using C++
str_coalesce | Coalesce character vectors
subtract_ | Parallelised math operations
switch_args | Switch between dot-dot-dot and a list of args

## -- T --

table_ | Fast frequency tables - Still experimental
trunc_ | Parallelised math operations

## -- U --

unique_ | An alternative 'unique' function
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
var_ | Extra utilities
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