
Package index
Graph Wrappers
These are wrapper functions around common ggplot2 functions. They’re designed to make it easier to make graphs.
-
adl_bar_plots() - Create bar plots in ADL's style
-
adl_coef_plots() - Create coefficient plots in ADL's style
-
adl_lollipop_plots() - Lollipop plots with optional dodging and auto label offsets
-
stat_density_quant() - Stat for density ridgeline plots
Themes
Full blown ggplot2 themes that affect almost all visual aspects of a graph. These are similar to ggplot2 themes like ggplot2::theme_minimal() or ggplot2::theme_gray().
-
theme_default() - Default theme
-
theme_v_bar() - Theme for vertical non-stacked bar plots
-
theme_h_bar() - Theme for non-stacked horizontal bar plots
-
theme_h_stack() - Theme for horizontal stacked bar plots
-
theme_coef() - Theme for coefficient plots
-
hc_theme_default() - The default theme for hc charts
-
scale_adl() - ADL color scale
-
adl_palettes - Complete list of available adl official color palettes
-
case_match_fct() case_matchwith factor levels-
case_when_fct() case_whenwith factor levels-
flip_val() - Flip the valence of a vector
-
make_factor() - Convert a labelled vector into a factor
-
make_quarts() - Create quartiles
-
make_dicho() - Make dichotomous factors
-
make_binary() - Make binary variables
-
make_nested() - Create a nested data frame
-
num_rev() - Reverse a numeric function
-
refactor() - Assign or reorder factor levels manually
-
pct_conv() - Make proper percent labels
-
make_percent() - Convert a numeric vector to a percent
-
pivot_longer_values() - Pivot data from wide to long with value labels
-
dunnett() - Run Dunnett's multiple comparisons test with one control.
-
get_coefficients() - Create a tidied tibble of regression results
-
get_means() - Calculate means with confidence intervals
-
get_diffs() - Calculate difference in means
-
get_freqs() - Compute weighted frequencies, optionally grouped and/or across multiple variables
-
get_freq_table() - Get the frequencies as a GT table
-
get_all_freqs() - Export frequencies for a set of variables to a word doc.
-
export_freqs_excel() - Export Frequency Tables to Excel with Professional Formatting
-
get_corr() - Calculate weighted correlations
-
get_all_corr() - Get correlations for a combination of variables
-
get_loadings() - Calculate the loadings in factor analysis
-
prettytable() - Make pretty HTML tables
-
row_means() - Calculate row means
-
row_sums() - Calculate row sums
-
wtd_corr() - Calculate individual weighted correlations
-
attr_var_label() - Get variable label
-
attr_val_labels() - Get value labels
-
attr_levels() - Get variable label
-
attr_note() - Get the note attribute
-
attr_question_preface() - Get the question_preface attribute
-
attr_survey_flow() - Get the survey_flow attribute
-
attr_transformation() - Get the transformation attribute
-
flatten_labelled_vec() - Flatten a labelled vector
-
set_question_preface() - Set a new attribute called
question_preface
-
clean_demos() - Clean up demographic variables
-
remove_bogus() - Remove bots, duplicates, and/or speedsters from a data frame
-
get_bogus() - Get bogus data from a data frame
-
export_bogus() - Export data frame with only bots and duplicates
-
get_col_names() - Get the column names
-
codebook() - Create a data codebook
-
dunnett_helper() - Perform Dunnett's test (mostly internal function)
-
funky_freqs()experimental - Calculate weighted frequencies
-
stars_pval() - Add stars based on the p-value
-
write_word_table() - This mainly an internal package but can be used externally
-
wtd_sd() - Calculate weighted standard deviation
-
test_data - dataset_title,
-
remove_bot_dupe()deprecated - Remove bots and/or duplicates from a data frame
-
get_bot_dupe()deprecated - Get the bots or duplicates from a data frame
-
export_bot_dupe()superseded - Export data frame with only bots and duplicates