Man pages for erikerhardt/erikmisc
Erik Erhardt's miscellaneous functions for solving complex data analysis workflows

dat_ergoStool_enlme::ergoStool, labeled
dat_mtcars_edatasets::mtcars, factored and labeled
dat_unicode_tables_sel_byhand_eUnicode characters from most of the tables from Wikipedia's...
dot-onAttach.onAttach start message
dot-onLoad.onLoad getOption package settings
e_calc_a1c_categoriesA1c category labels using CDC classification or user-defined...
e_calc_bmiBMI Calculation
e_calc_bmi_categoriesBMI category labels using CDC classification
e_calc_ECURE_LUDTMECURE Lower- to upper-division transition metric
e_calc_ECURE_LUDTM2ECURE Lower- to upper-division transition metric, v2
e_calc_ECURE_scale_LUDTMECURE scale the LUDTM when less than expected
e_calc_ECURE_UDEECURE Upper Division Expectation (UDE)
e_calc_phq2_categoriesPHQ-2 category labels using Table 4 from Kroenke K, Spitzer...
e_calc_phq9_categoriesPHQ-9 category labels using Table 4 from Kroenke K, Spitzer...
e_ccf_maxCross-correlation function, maximum over lags
e_CI_limitsExtract confidence interval limits from vector (of bootstrap...
e_coalesce_by_columnCombine rows with different data values
e_coalesce_column_setCoalesce column set
e_complete_multiple_keysComplete multiple key ID variables
e_convert_cm_to_inConvert centimeters (cm) to inches (in)
e_convert_Datetime_to_ExcelDatetimeConvert Datetime to Excel datetime
e_convert_Date_to_ExcelDateConvert Date to Excel date
e_convert_ExcelDatetime_to_DatetimeConvert Excel datetime to Datetime
e_convert_ExcelDate_to_DateConvert Excel date to Date
e_convert_Grade_to_GPAconvert letter grades to GPA equivalent
e_convert_in_to_cmConvert inches (in) to centimeters (cm)
e_convert_kg_to_lbConvert kilograms (kg) to pounds (lb)
e_convert_lb_to_kgConvert pounds (lb) to kilograms (kg)
e_convert_logisticLogistic: Convert from log(Odds Ratio) to Probability
e_convert_logitLogit: Convert from Probability to log(Odds Ratio)
e_convert_oddsratio_to_probabilityConvert from Odds Ratio to Probability
e_convert_probability_to_oddsratioConvert from Probability to Odds Ratio
e_data_complete_by_variable_subsetFor missing data, determine which sets of variables result in...
e_data_convert_factor_to_numericConvert all factor variables to their numeric factor levels
e_data_var_labels_apply_from_tableApply labels to a dataset from a table of Var and Label
e_data_var_labels_clearClear labels from variables in data frames
e_data_var_labels_table_from_dataCreate table of labels from a labelled dataset, columns Var...
e_derivative_finite_differenceDerivatives of time series using finite difference...
e_duplicated_allAll Determine Duplicate Elements
e_expand_grid_dfCreate a Data Frame from All Combinations of Data Frames
e_extract_numbers_from_stringExtract numbers from a string
e_file_first_lastList of filenames as the first or last n by filename or file...
e_headtailPrint head and tail of a data.frame
e_is_errorcheck a function and if there's an error return an indication...
e_linear_interpolationLinear interpolation and extrapolation of y conditional on...
e_lm_bestsubsetBest subset selection returns results sorted by BIC
e_lm_model_criteriaReturn table of model selection criteria
e_lm_powerMultiple regression power analysis
e_lm_print_html_anovaPrint an lm() anova table to html
e_lm_print_html_summaryPrint an lm() summary table to html
e_log_shiftLog2 nonnegative numbers after offsetting 0 by minimum...
e_log_writeInitialize and print into a log file and to the console
e_match_closest_in_rangeMatch the closest observations from one dataset to a key...
e_message_captureCapture a message, warning, or error to take actions
e_model_all_subsets_formulaAll model subsets
e_model_binary_completeAll variable subsets
e_pilot_density_altitudeCompute Koch Chart density altitude, takeoff roll, and climb...
e_plot_blankCreate blank ggplot grob plot used as a place holder
e_plot_bs_one_samp_distVisual comparison of whether Bootstrap sampling distribution...
e_plot_bs_two_samp_diff_distVisual comparison of whether Bootstrap sampling distribution...
e_plot_calc_break_intervalInterval for plot breaks, determine a "nice" length of seq(by...
e_plot_clean_numeric_nonnum_minmaxCleaning numeric values for nonnumeric and large/small...
e_plot_compare_mediansANOVA-style dot-plot comparing means
e_plot_corr_ellipseCorrelation plot with ellipses
e_plot_extract_legendExtract ggplot legend as it's own plot grob object
e_plot_function_limit_rangeLimit the range of values from a distribution function
e_plot_grid_corner_labelFor corner labels, remove the labs(tag=) argument and use...
e_plot_grid_corner_label_listAdd corner labels to all grobs in a list using...
e_plot_lm_diagnosticsPlotting residual diagnostics for an lm() object.
e_plot_longitudinalLongitudinal interaction plots
e_plot_missingPlots missing data in a data.frame, possibly grouped by one...
e_plot_mnv_norm_qqplotGraphical Assessment (QQ-plot) for assessing Multivariate...
e_plot_model_contrastsCompute and plot all contrasts and test results from a linear...
e_plot_projectionPlot projection from high dimensions to 2D
e_plot_rf_vimpA function to plot the "all" column from a Random Forests...
e_plot_rocA function to calculate the ROC curve, determine the optimal...
e_plot_roc_reorder_hierarchyA helper function for a list of ROC curves to reorder ROC...
e_plot_scatterplotPlot scatterplot of a numeric y-variable against a numeric or...
e_plot_table_propCalculate proportions and plot factor variable by up to two...
e_plot_ttest_pvalPlot the result of a t-test by shading the p-value area under...
e_print_list_tree_hierarchyPrint list tree hierarchy
e_pval_empiricalCalculate empirical tail probabilities (p-values), typically...
e_pval_starsReturn star symbols for ranges between a set of p-values, or...
e_read_data_filesRead a list of csv, xls, or xlsx data into a list of tibbles
e_read_data_subdir_into_listsRead data from subdirectories into a structured list
e_read_df_header_span_rowsCombine multiple header rows into a column name for a text...
e_REDCap_read_format_dataREDCap data, reading and formatting data
e_REDCap_replace_var_labelREDCap variable labeling, replace Hmisc 'label()' with...
e_REDCap_use_dotfactor_varREDCap data, use ".factor" var with original variable label
e_replace_keys_less_with_most_completeMatch and replace less complete rows with most complete row
e_rfsrc_classificationRandom Forests classification workflow using...
erikmisc_attacherikmisc_attach
erikmisc_conflictsConflicts between the erikmisc and other packages
erikmisc_logoThe erikmisc logo, using ASCII or Unicode characters
erikmisc-packageerikmisc: Erik Erhardt's miscellaneous functions for solving...
erikmisc_packagesList all packages in the erikmisc
e_rmd_name_chunksRead an Rmd rmarkdown file and apply enumerated code chunks
e_roc_ggA function to calculate ROC curve, calculate area under the...
e_scale_alignAlign the distribution of one empirical distribution to an...
e_source_all_R_in_folderSource all *.R files in a folder
e_split_list_columns_into_indicator_columnsSplit a (set of) item-listing columns into indicator columns
e_substr_last_nSubstring last n characters
e_table1_summariesTable 1 demographics summaries
e_table_aggregateAggregate a set of variables by another set of variables with...
e_table_printPrint a data.frame table for latex and scale to fit page
e_table_sum_freq_propCreate a frequency/proportion summary table by a set of...
e_text_filename_replace_charactersReplace special characters in a filename
e_text_unicode_to_asciiReplace Unicode with ASCII
e_ts_bootstrap_phaseTime series bootstrap scramble phase
e_ts_lowpass_filter_ifft_harmonicsTime series lowpass filter using iFFT harmonics
e_ttest_alt_hyp_textReturn text of alternative hypothesis via modified code from...
e_vec_winsorizeWinsorize a numeric list or vector by replacing extreme...
notinBoolean operator "not in"
package_versionpackage_version
print.erikmisc_logoPrint for erikmisc_logo
erikerhardt/erikmisc documentation built on April 17, 2025, 10:48 a.m.