Skip to contents

Conditionals

swap_if() stable
Swap two values if a condition is met

Colors

col2hex() stable
Convert a color name to hexadecimal format

Dialogs

shush() stable
Suppress messages and warnings

Replacement

list_replace_all() experimental
Replace matches in a list
vct_replace_all() maturing
Replace values in a vector

Parsing & Conversion

na_as() stable
Return a NA value of the same type of an R object
vector_to_c() maturing
Put a vector into c()

R Packages

update_pkg_versions() maturing
Update package versions in the DESCRIPTION file
update_pkg_year() maturing
Update the year in system files of a package

Scoping

grab_fun_par() maturing
Grab all the parameters in a function

Strings

extract_initials() stable
Extract initials from a character vector
get_file_ext()
Get file extensions
get_file_name_without_ext()
Get file names without the extension
to_title_case_pt()
Convert to title case considering Portuguese rules

Statistics

cohens_d() maturing
Compute Cohen's d statistic
cut_interval_mean() stable
Compute the interval means of a cut factor
std_error() stable
Compute the standard error of the sample mean
test_outlier() stable
Test for outliers in a numeric vector
remove_outliers() stable
Remove outliers from a numeric vector

Vectors

count_na() stable
Count the amount of NA values in a vector
drop_na() stable
Remove NA values from an atomic object
inbetween_integers() stable
Get all the integers between two integers