Skip to contents

All functions

capply()
Apply a function over selected columns
clipboard()
Copy object as code to the clipboard
csv_size()
Size of dataframe saved as CSV
date_fill()
Fill missing date values in a vector
date_seq()
Create sequential datetimes in a data frame
nrow_df() ncol_df()
Fast data.frame lengths
empty_df()
Create a placeholder data.frame
gtsummary_fix_na()
Better NA handling in gtsummary
gtsummary_save()
Save gtsummary table
is_rep()
Is each element of a vector the same
leading_zero()
Convert integers to zero padded strings
length_nona()
Length not counting NA
length_unique()
Length of vectors unique values
load_pkg()
Load R packages
nlist()
Create a named list
pct()
Format percentages
plot_df()
Diagnostic plots for dataframe variables
pretty_print()
Print comma separated, quoted values
read_chunk()
Read large files by chunks
replace_xy()
Replace x to y in data frames or matrices
round_df()
Round all numeric columns in a dataframe or matrix
save_help()
Save a help page to a file
save_manual()
Save a package manual to a file
save_to_md()
Save a file or URL to a Markdown file
save_vignette()
Save a package vignette to a file
sort_levels()
Sort levels of a factor from most observed to least observed
sort_xy()
Sort vector x based on order of vector y
strdf()
Compactly Display the Structure of a data.frame
time()
Time between dates
time_pfs()
Progression Free Survival Time
type()
Simple vector type check
valid_names()
Makes syntactically valid column names