All functions

dat_ergoStool_e

nlme::ergoStool, labeled

dat_mtcars_e

datasets::mtcars, factored and labeled

dat_unicode_tables_sel_byhand_e

Unicode characters from most of the tables from Wikipedia's "List of Unicode characters"

.onAttach()

.onAttach start message

.onLoad()

.onLoad getOption package settings

erikmisc_attach()

erikmisc_attach

erikmisc_conflicts()

Conflicts between the erikmisc and other packages

erikmisc_logo()

The erikmisc logo, using ASCII or Unicode characters

erikmisc_packages()

List all packages in the erikmisc

e_calc_a1c_categories()

A1c category labels using CDC classification or user-defined categories

e_calc_bmi()

BMI Calculation

e_calc_bmi_categories()

BMI category labels using CDC classification

e_calc_ECURE_LUDTM()

ECURE Lower- to upper-division transition metric

e_calc_ECURE_LUDTM2()

ECURE Lower- to upper-division transition metric, v2

e_calc_ECURE_scale_LUDTM()

ECURE scale the LUDTM when less than expected

e_calc_ECURE_UDE()

ECURE Upper Division Expectation (UDE)

e_calc_phq2_categories()

PHQ-2 category labels using Table 4 from Kroenke K, Spitzer RL, Psychiatric Annals 2002;32:509-521

e_calc_phq9_categories()

PHQ-9 category labels using Table 4 from Kroenke K, Spitzer RL, Psychiatric Annals 2002;32:509-521

e_coalesce_by_column()

Combine rows with different data values

e_coalesce_column_set()

Coalesce column set

e_complete_multiple_keys()

Complete multiple key ID variables

e_convert_cm_to_in()

Convert centimeters (cm) to inches (in)

e_convert_Datetime_to_ExcelDatetime()

Convert Datetime to Excel datetime

e_convert_Date_to_ExcelDate()

Convert Date to Excel date

e_convert_ExcelDatetime_to_Datetime()

Convert Excel datetime to Datetime

e_convert_ExcelDate_to_Date()

Convert Excel date to Date

e_convert_Grade_to_GPA()

convert letter grades to GPA equivalent

e_convert_in_to_cm()

Convert inches (in) to centimeters (cm)

e_convert_kg_to_lb()

Convert kilograms (kg) to pounds (lb)

e_convert_lb_to_kg()

Convert pounds (lb) to kilograms (kg)

e_convert_logistic()

Logistic: Convert from log(Odds Ratio) to Probability

e_convert_logit()

Logit: Convert from Probability to log(Odds Ratio)

e_convert_oddsratio_to_probability()

Convert from Odds Ratio to Probability

e_convert_probability_to_oddsratio()

Convert from Probability to Odds Ratio

e_data_convert_factor_to_numeric()

Convert all factor variables to their numeric factor levels

e_data_var_labels_clear()

Clear labels from variables in data frames

e_duplicated_all()

All Determine Duplicate Elements

e_expand_grid_df()

Create a Data Frame from All Combinations of Data Frames

e_extract_numbers_from_string()

Extract numbers from a string

e_headtail()

Print head and tail of a data.frame

e_is_error()

check a function and if there's an error return an indication that we can ifelse() to either run for real or skip

e_linear_interpolation()

Linear interpolation and extrapolation of y conditional on spacing of x

e_lm_bestsubset()

Best subset selection returns results sorted by BIC

e_lm_model_criteria()

Return table of model selection criteria

e_lm_power()

Multiple regression power analysis

e_lm_print_html_anova()

Print an lm() anova table to html

e_lm_print_html_summary()

Print an lm() summary table to html

e_log_shift()

Log2 nonnegative numbers after offsetting 0 by minimum non-zero value.

e_match_closest_in_range()

Match the closest observations from one dataset to a key dataset.

e_message_capture()

Capture a message, warning, or error to take actions

e_model_all_subsets_formula()

All model subsets

e_model_binary_complete()

All variable subsets

e_pilot_density_altitude()

Compute Koch Chart density altitude, takeoff roll, and climb rate

e_plot_blank()

Create blank ggplot grob plot used as a place holder

e_plot_bs_one_samp_dist()

Visual comparison of whether Bootstrap sampling distribution of the mean is close to Normal

e_plot_bs_two_samp_diff_dist()

Visual comparison of whether Bootstrap sampling distribution of the difference in means is close to Normal

e_plot_calc_break_interval()

Interval for plot breaks, determine a "nice" length of seq(by = Interval)

e_plot_clean_numeric_nonnum_minmax()

Cleaning numeric values for nonnumeric and large/small values, similarly for dates.

e_plot_compare_medians()

ANOVA-style dot-plot comparing means

e_plot_corr_ellipse()

Correlation plot with ellipses

e_plot_extract_legend()

Extract ggplot legend as it's own plot grob object

e_plot_grid_corner_label()

For corner labels, remove the labs(tag=) argument and use this

e_plot_grid_corner_label_list()

Add corner labels to all grobs in a list using e_plot_grid_corner_label() instead of labs(tag=)

e_plot_lm_diagnostics()

Plotting residual diagnostics for an lm() object.

e_plot_longitudinal()

Longitudinal interaction plots

e_plot_missing()

Plots missing data in a data.frame, possibly grouped by one variable and sorted by a second.

e_plot_mnv_norm_qqplot()

Graphical Assessment (QQ-plot) for assessing Multivariate Normality

e_plot_model_contrasts()

Compute and plot all contrasts and test results from a linear model by automating the use of emmeans tables and plots.

e_plot_roc()

A function to calculate the ROC curve, determine the optimal threshold, plot the curve, and provide classification statistics

e_plot_scatterplot()

Plot scatterplot of a numeric y-variable against a numeric or categorical x-variable, by up to one color factor or numeric variable and two facets factor variables

e_plot_table_prop()

Calculate proportions and plot factor variable by up to two other factor variables

e_plot_ttest_pval()

Plot the result of a t-test by shading the p-value area under the t-distribution

e_pval_stars()

Return star symbols for ranges between a set of p-values, or any set of numbers

e_read_data_files()

Read a list of csv, xls, or xlsx data into a list of tibbles

e_read_data_subdir_into_lists()

Read data from subdirectories into a structured list

e_read_df_header_span_rows()

Combine multiple header rows into a column name for a text data frame

e_REDCap_read_format_data()

REDCap data, reading and formatting data

e_REDCap_replace_var_label()

REDCap variable labeling, replace Hmisc label() with labelled var_label() in the R formatting file

e_REDCap_use_dotfactor_var()

REDCap data, use ".factor" var with original variable label

e_replace_keys_less_with_most_complete()

Match and replace less complete rows with most complete row

e_rmd_name_chunks()

Read an Rmd rmarkdown file and apply enumerated code chunks

e_roc_gg()

A function to calculate ROC curve, calculate area under the curve (AUC), calculate the optimal threshold, plot the curve, and classify the peaks.

e_source_all_R_in_folder()

Source all *.R files in a folder

e_split_list_columns_into_indicator_columns()

Split a (set of) item-listing columns into indicator columns

e_table1_summaries()

Table 1 demographics summaries

e_table_aggregate()

Aggregate a set of variables by another set of variables with a specific function

e_table_print()

Print a data.frame table for latex and scale to fit page

e_table_sum_freq_prop()

Create a frequency/proportion summary table by a set of variables

e_text_unicode_to_ascii()

Replace Unicode with ASCII

e_ttest_alt_hyp_text()

Return text of alternative hypothesis via modified code from stats::print.htest

`%notin%`

Boolean operator "not in"

package_version()

package_version

print(<erikmisc_logo>)

Print for erikmisc_logo