add_sav_labels | Add variable labels from a .sav file or labelled dataframe |
bp | Make a noise |
charvecs_to_named_charvec_tc | Combined two character vectors into code declaring a named... |
charvec_tc | Copy character vector to clipboard for pasting |
charvec_to_casewhen_tc | Create a 'case_when()' statement for a set of values and copy... |
clear_output_dir | Delete any visible files in output/ |
compare_mice_distrib | Compare imputed vs. raw data for 'mice' model |
cor0 | Create tidy summary of pairwise correlations of vars in a... |
count_all | Call 'dplyr::count()' on all columns in a dataframe |
count_NA_patterns | Return a count of each missing data pattern in dataframe |
cross_table | Version of 'gmodels::CrossTable' with better defaults |
describe | Return tidy summary of vector |
describe_df | Return tidy summary of dataframe |
describe_NA | Return tidy summary of NAs in dataframe |
extract_pdfs_in_dir | Gather all '.pdf' files in a directory, recursively |
fit_mice_for_diag | Create a 'mice' object for diagnostics |
fnr_names | Find and replace patterns in names of a dataframe |
fnr_wd | Find and replace string in all '.R' files in directory |
get_train_perf | Get tidy training performance of a 'caret::train' object |
get_varImp | Get tidy variable importance information from a... |
grapes-notin-grapes | Test whether an element is NOT in a set |
inspect_pred.matrix | Inspect the prediction matrix before imputation |
inspect_sav | Inspect labeling metadata from .sav file |
key | Create a random key |
lp | Print dataframe with all rows shown |
mk | Source 'RUNME.R' or 'MAKEFILE.R' |
notify_cell | Send a text notification to cell phone |
n_unique | Count unique values of vector |
pad_number | Pad a number with leading zeroes |
plot_ecdf | Plot ECDF |
plot_mice_convergence | Plot imputation convergence for 'mice' model |
plot_mice_distrib | Plot imputed vs. raw data for 'mice' model |
pval_to_jama | Convert p values to JAMA format |
pval_to_symbol | Convert p values to symbols |
replace_NAs_with_medians | Replace missing values in a dataframe with medians |
round0 | Round all numeric columns in a dataframe |
save_session_info | Save session info as .txt file |
set_up_new_repo | Set up basic file structure for new repo |
source_all | Source all R scripts within a folder |
source_lines | Source specific lines in an R file |
table0 | Version of 'table' with better defaults |
tc | Write to clipboard |
tc_as_comment | Write a string to the clipboard formatted as an 80-wide R... |
tidy_confusionMatrix | Tidy report of performance in 'caret::confusionMatrix()' |
tidy_MIcombine | Combine and tidy the result of a 'mitools' analysis |
to_missind | Recode a target column in dataframe to indicator of... |
tstamp | Create a timestamp |
vals | Create tidy dataframe that summarizes frequency of values in... |
wpsave | Wrap ggsave() to save as .png & .pdf, then load to viewer |
write_wp | Save dataframe as both .csv and .xlsx |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.