Operators

`%+=%` `%-=%`

Addition/Subtraction Assignment Operators

`%p%`

Operator to Concatenate Two Strings

`%w%`

Operator to Check if String is Part of Another String

`%rows%`

Operator to Subset Rows While Preserving Attributes

`%btw%`

Operator to Determine Range Between Which a Value Falls

Math

erf()

Error Function

logit()

Logit Function

logistic()

Logistic Function

log_of_sum_of_exp_x()

Compute the Log of the Sum of the Exponent of Log-Values

pow()

Raise a Value to a Power

softmax()

Softmax Function

Utilities

add_to_list()

Add Element to Existing List

align_strings()

Pad Strings to be the Same Length

assign_by_interval()

Assign Values by Cases Within Intervals

column()

Extract Column Names Meeting Inclusion/Exclusion Criteria

column_by_other()

Unique Values of one Column by Another

copy_from_source()

Copy Files From Source Folder

create_table_of_contents()

Create a Table of Contents

create_vector()

Create Code for Vector

data_first()

Adapt Functions to Take Data Argument First

date_and_time()

Formatted Date and Time for File Names

duplicate_wide_to_long()

Duplicate Values from Wide-Form to Long-Form Data

empty_list()

Create an Empty List

every() `every<-`()

Sequence of Values in Regular Increments

find_increment()

Find Increment Over Range of Values

find_file_name()

Check if a File Name can be Found

format_numbers()

Pad Numeric Values to be the Same Length

group_index()

Create Index Over Groupings

has_NA()

Identify NA Values by Row

lin()

Create Linear Sequence of Evenly Spaced Values

load_package()

Convenience Function to Load in R Packages

load_R_object()

Load in R Objects From .RData Files

make_file_name()

Create Formatted File Name

match_and_reorder()

Match and Reorder Vectors

match_rows()

Match Rows Across Two Data Frames

new_limits()

Rescale Values to Have New Limits

not_NA()

Return a Logical Vector With NA Values set to FALSE

over()

A Sequence Adjusted by an Iterator

path_to_file()

Returns File/Folder Paths

percent_that_sums_to_100()

Compute Percentage That Sums to 100%

print_table()

Print a Nicely Formatted Table

pull_id()

Extract Subject IDs From a Data-Frame

source_R_scripts()

Source in Multiple R Scripts in a Folder

recode()

Recode a Variable

replace_cases()

Replace Cases

replace_string()

Replace String Contents

runs_in_sequence()

Determine Runs in a Sequence

save_png_figure()

Create and save PNG file

section()

Section Numbers for Tracking Progress

strip_value()

Strip Vector of a Value

squish()

Collapse a Character Vector

take_x_by_y()

Repeat Column Values by Unique Cases in Another Column

templates()

Create Templates for Annotations and Code

term_coding() term_coding_dummy() term_coding_effect()

Parameters for Recoding Variables

term_combo()

Template for Combining Terms

term_new()

Template for Creating New Term

term_prep()

Create New Terms for Data

update_package_version()

Update Package Versions in Script Documentation

Plotting

col_to_hex()

Convert Colors to Hex Codes

draw_axes()

Add Axes to a Plot

draw_borders_and_labels()

Add Borders and Labels to an Existing Plot

draw_boxplots()

Add Boxplot to an Existing Plot

draw_by_group()

Add Elements to Existing Figure by Groups

draw_error_bars()

Add Error Bars to a Plot

draw_dots()

Add Points and Error Bars to an Existing Plot

draw_hv()

Draw Horizontal/Vertical Lines

draw_legend()

Add a Legend to an Existing Plot

draw_lines()

Add Lines and Error Bars to an Existing Plot

palettes()

Various Color Palettes

plot_blank()

Generate a Blank Plot

plot_correlations()

General-purpose Function to Plot Correlations

plot_histogram()

Wrapper for Plotting Histograms

plot_forest()

Create a Forest Plot

plot_scatter()

Create a Scatter Plot

save_pdf()

Save PDF file

save_png()

Save PNG file

specify_positions()

Specify Positions over Grouping Factors

Statistics

bootstrap()

Non-Parametric Bootstrap

bounds()

Lower and Upper Limits for Confidence or Credible Intervals

boxcox_transform()

Box-Cox Transformations for Linear Model

density_points()

Estimate Densities for Individual Observations

pool_over_imputations()

Pool Parameter Estimates Over Imputations

principal_components_analysis()

Principal Components Analysis

pvalues()

Compute and Format P-values

sem()

Standard Error of the Mean

summa()

Flexible Formatted Summary Statistics

standardize()

Standardize Columns in a Data Frame or Matrix

statistic()

Compute a Statistic

stats_by_group()

Compute Statistics by Group

yeo_johnson()

Yeo-Johnson Transform

yeo_johnson_transform()

Determine Best Parameter for Yeo-Johnson Transform

Modeling

binary_SDT()

Transform Hit/False Alarm Rates into SDT Parameters

EZ_diffusion()

Estimate Parameters for EZ-Diffusion Model

Projects

create_analysis_project()

Create Files and Folders for Analysis Project

Miscellaneous

arfpam arfpam-package

Assorted R Functions for Processing, Analysis, and Modeling

Legacy

add_axes()

Add Axes to a Plot

blank_plot()

Generate a Blank Plot

error_bars()

Add Error Bars to a Plot

fill_plot()

Add Filled Vertical/Horizontal Bar

hv_line()

Draw Horizontal/Vertical Lines

plot_correlation_heatmap()

Plot a Heatmap for a Correlation Matrix