Skip to contents

BRoadly Useful Convenient and Efficient R functions that BRing Users Concise and Elegant R data analyses.

Package homepage: https://psychbruce.github.io/bruceR/

Install the latest development version from GitHub: devtools::install_github("psychbruce/bruceR")

Report bugs at GitHub Issues.

Main Functions in bruceR

(1) Basic R Programming

set.wd (alias: set_wd)

import, export

cc

pkg_depend, pkg_install_suggested

formatF, formatN

print_table

Print, Glue, Run

%^%

%notin%

%allin%, %anyin%, %nonein%, %partin%

(2) Multivariate Computation

add, added

.sum, .mean

SUM, MEAN, STD, MODE, COUNT, CONSEC

RECODE, RESCALE

LOOKUP

(3) Reliability and Factor Analyses

Alpha

EFA / PCA

CFA

(4) Descriptive Statistics and Correlation Analyses

Describe

Freq

Corr

cor_diff

cor_multilevel

(5) T-Test, Multi-Factor ANOVA, Simple-Effect Analysis, and Post-Hoc Multiple Comparison

TTEST

MANOVA

EMMEANS

(6) Tidy Report of Regression Models

model_summary

lavaan_summary

GLM_summary

HLM_summary

HLM_ICC_rWG

regress

(7) Mediation and Moderation Analyses

PROCESS

med_summary

(8) Additional Toolbox for Statistics and Graphics

grand_mean_center

group_mean_center

ccf_plot

granger_test

granger_causality

theme_bruce

show_colors

Author

Maintainer: Han-Wu-Shuang Bao baohws@foxmail.com (ORCID)