R: A Toolkit for Behavioral Scientists

# A Toolkit for Behavioral Scientists

## Documentation for package ‘kim’ version 0.6.1

- DESCRIPTION file.
- Package NEWS.

## Help Pages

A B C D E F G H I K L M N O P Q R S T U V W Z

## -- A --

akaike_weights | Akaike Weights
assign_fn_parameters_as_vars | Assign function parameters as values

## -- B --

barplot_for_counts | Barplot for counts
binomial_test | Binomial test
bracket | Draw a bracket on a ggplot

## -- C --

capitalize | Capitalize a substring
change_var_names | Change variable names in a data set
check_modes | Check modes of objects
check_req_pkg | Check for required packages
chi_squared_test | Chi-squared test
chi_squared_test_pairwise | Chi-squared test, pairwise
ci_of_mean | Confidence Interval of the Mean of a Vector
clean_data_from_qualtrics | Clean data from Qualtrics
coefficent_of_variation | Coefficient of variation
cohen_d | Calculate Cohen's d and its confidence interval using the package 'psych'
cohen_d_borenstein | Calculate Cohen's d as illustrated by Borenstein et al. (2009, ISBN: 978-0-470-05724-7)
cohen_d_for_one_sample | Calculate Cohen's d to accompany a one-sample t-test
cohen_d_from_cohen_textbook | Cohen's d from Jacob Cohen's textbook (1988)
cohen_d_over_n | Cohen's d as a function of sample size
cohen_d_torchiano | Calculate Cohen's d and its confidence interval using the package 'effsize'
cohen_d_to_r | Convert Cohen's d to r
combine_data_across_cols | Combine data across columns
comma_sep_string_to_numbers | Convert a comma-separated string of numbers
compare_datasets | Compare data sets
compare_dependent_rs | Compare dependent correlations
compare_effect_sizes | Compare effect sizes
compare_groups | Compare groups
compare_independent_rs | Compare independent correlations
contingency_table | Contingency table
convert_cols_to_numeric | Convert columns to numeric
convert_to_excel_formula | Convert character to Excel formula
correlation_kim | Estimate the correlation between two variables
correlation_matrix | correlation matrix
cum_percent_plot | Cumulative percentage plot

## -- D --

desc_stats | Descriptive statistics
desc_stats_by_group | Descriptive statistics by group
detach_user_installed_pkgs | Detach all user-installed packages
duplicated_values | Duplicated values in a vector

## -- E --

excel_formula_convert | Excel formula, convert (to)
exit_from_parent_function | Exit from a Parent Function

## -- F --

factorial_anova_2_way | Factorial ANOVA 2-Way (Two-Way Factorial ANOVA)
find_duplicates | Find duplicated values in a vector
fisher_z_transform | Fisher's Z transformation
floodlight_2_by_continuous | Floodlight 2 by Continuous
floodlight_2_by_continuous_logistic | Floodlight 2 by Continuous for a Logistic Regression
floodlight_2_by_continuous_mlm_logistic | Floodlight 2 by Continuous for a Multilevel Logistic Regression
floodlight_for_contrasts | Floodlight Analyses for a Set of Contrasts
floodlight_multi_by_continuous | Floodlight Multicategorical by Continuous
forest_plot | Forest plot

## -- G --

geomean | Geometric mean
ggsave_quick | ggsave quick

## -- H --

histogram | Histogram
histogram_by_group | Histogram by group
histogram_deprecated_1 | Histogram
histogram_from_hist | Histogram from hist function
histogram_w_outlier_bins | Histogram with outlier bins
holm_adjusted_p | Holm-adjusted p-values

## -- I --

identical_all | Check whether all inputs are identical
id_across_datasets | ID across datasets
install_all_dependencies | Install all dependencies for all functions

## -- K --

kurtosis | Kurtosis

## -- L --

lenu | lenu: Length of unique values
levene_test | Levene's test
logistic_regression | Logistic regression
logistic_regression_table | Logistic regression table
logistic_reg_w_interaction | Logistic regression with an interaction term
loglinear_analysis | Loglinear analysis
log_odds_ratio | Log odds ratio
log_odds_ratio_to_d | Convert log odds ratio to Cohen's d

## -- M --

mad_remove_outliers | Remove outliers using the MAD method
mann_whitney | Mann-Whitney U Test (Also called Wilcoxon Rank-Sum Test)
matrix_prep_dt | Prepare a two-column data.table that will be used to fill values in a matrix
mean_center | Mean center
mediation_analysis | Mediation analysis
merge_data_tables | Merge data tables
merge_data_table_list | Merge a list of data tables
mixed_anova_2_way | Mixed ANOVA 2-Way (Two-Way Mixed ANOVA)
modes_of_objects | Find modes of objects
multiple_regression | Multiple regression

## -- N --

noncentrality_parameter | Find noncentrality parameter

## -- O --

odds_ratio | Odds ratio
order_rows_specifically_in_dt | Order rows specifically in a data table
outlier | Outlier
overlapping_interval | Find the overlapping interval of two ranges.

## -- P --

p0 | Paste0
package_list_default | Packages - List the default packages
parallel_analysis | Parallel analysis
percentile_rank | Percentile rank
pivot_table | Pivot Table
plot_group_means | Plot group means
pm | Paste for message
population_variance | Population variance of a vector
prep | Prepare package(s) for use
pretty_round_p_value | Pretty round p-value
pretty_round_r | Pretty round r
print_loop_progress | print loop progress
proportion_of_values_in_vector | Proportion of given values in a vector

## -- Q --

q_stat_test_homo_r | Q statistic for testing homogeneity of correlations

## -- R --

read_csv | Read a csv file
read_sole_csv | Read the sole csv file in the working directory
regex_match | Regular expression matches
rel_pos_of_value_in_vector | Find relative position of a value in a vector
rel_value_of_pos_in_vector | Find relative value of a position in a vector
remove_from_vector | Remove from a vector
remove_user_installed_pkgs | Remove all user installed packages
repeated_measures_anova | Repeated-Measures ANVOA
replace_values_in_dt | Replace values in a data table
robust_regression | Robust regression (bootstrapped regression)
round_flexibly | Round flexibly

## -- S --

scatterplot | Scatterplot
score_scale_items | Score scale items
setup_r_env | Set up R environment
setwd_to_active_doc | Set working directory to active document in RStudio
se_of_mean | Standard error of the mean
se_of_percentage | Standard Error (SE) of a percentage
se_of_proportion | Standard Error (SE) of a proportion
simple_effects_analysis | Simple Effects Analysis
simple_slopes_analysis | Simple slopes analysis
simple_slopes_analysis_logistic | Simple slopes analysis with logistic regression analyses
skewness | Skewness
spotlight_2_by_continuous | Spotlight 2 by Continuous
standardize | Standardize
standardized_regression | Standardized Regression
start_kim | Start kim
su | su: Sorted unique values

## -- T --

tabulate_vector | Tabulate vector
tau_squared | Tau-squared (between-studies variance for meta analysis)
theme_kim | Theme Kim
top_median_or_bottom | Top, median, or bottom
tv | Tabulate vector
two_way_anova | Two-Way Factorial ANOVA
t_test_pairwise | t-tests, pairwise

## -- U --

und | Undocumented functions
unload_user_installed_pkgs | Unload all user-installed packages
update_kim | Update the package 'kim'

## -- V --

var_of_log_odds_ratio_to_var_of_d | Convert variance of log odds ratio to variance of d
var_of_percentage | Variance of a percentage
var_of_proportion | Variance of a proportion
vlookup | Vlookup

## -- W --

weighted_mean_effect_size | Estimate the mean effect size in a meta analysis
weighted_mean_r | Weighted mean correlation
weighted_z | Weighted z
wilcoxon_rank_sum_test | Wilcoxon Rank-Sum Test (Also called the Mann-Whitney U Test)
write_csv | Write to a csv file

## -- Z --

z_score | z score
z_to_r_transform | Z to r transformation (Inverse of Fisher's Z transformation)