bruceR-package {bruceR}R Documentation

bruceR: BRoadly Useful Convenient and Efficient R functions

Description

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

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

Check updates in Release Notes.

Report bugs in GitHub Issues.

Loading bruceR by library(bruceR) will also load these R packages for you:

[Data]:

[Stat]:

[Plot]:

Main Functions in bruceR

(1) Basic R Programming

set.wd (alias: set_wd)

import, export

pkg_depend, pkg_install_suggested

formatF, formatN

print_table

Print, Glue, Run

%^%

%notin%

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

(2) Multivariate Computation

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

(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

Note

Please always use RStudio as an IDE instead of using the raw R software.

Author(s)

Han-Wu-Shuang (Bruce) Bao

E-mail: baohws@foxmail.com


[Package bruceR version 0.8.0 Index]