Man pages for bruceR
Broadly Useful Convenient and Efficient R Functions

addCreate, modify, and delete variables.
AlphaReliability analysis (Cronbach's alpha and McDonald's omega).
bruceR-demodataDemo data.
bruceR-packagebruceR: *BR*oadly *U*seful *C*onvenient and *E*fficient *R*...
ccSplit up a string (with separators) into a character vector.
ccf_plotCross-correlation analysis.
CFAConfirmatory Factor Analysis (CFA).
cor_diffTest the difference between two correlations.
cor_multilevelMultilevel correlations (within-level and between-level).
CorrCorrelation analysis.
DescribeDescriptive statistics.
dtimeTimer (compute time difference).
EFAPrincipal Component Analysis (PCA) and Exploratory Factor...
EMMEANSSimple-effect analysis and post-hoc multiple comparison.
exportExport data to a file (TXT, CSV, Excel, SPSS, Stata, ...) or...
formatFFormat numeric values.
formatNFormat "1234" to "1,234".
formula_expandExpand all interaction terms in a formula.
formula_pastePaste a formula into a string.
FreqFrequency statistics.
GLM_summaryTidy report of GLM ('lm' and 'glm' models).
grand_mean_centerGrand-mean centering.
granger_causalityGranger causality test (multivariate).
granger_testGranger causality test (bivariate).
grapes-allin-grapesA simple extension of '%in%'.
grapes-anyin-grapesA simple extension of '%in%'.
grapes-grapes-COMPUTE-grapes-grapesMultivariate computation.
grapes-nonein-grapesA simple extension of '%in%'.
grapes-notin-grapesThe opposite of '%in%'.
grapes-partin-grapesA simple extension of '%in%'.
grapes-pow-grapesPaste strings together.
group_mean_centerGroup-mean centering.
HLM_ICC_rWGTidy report of HLM indices: ICC(1), ICC(2), and rWG/rWG(J).
HLM_summaryTidy report of HLM ('lmer' and 'glmer' models).
importImport data from a file (TXT, CSV, Excel, SPSS, Stata, ...)...
lavaan_summaryTidy report of lavaan model.
LOOKUPSearch, match, and look up values (like Excel's functions...
MANOVAMulti-factor ANOVA.
med_summaryTidy report of mediation analysis.
model_summaryTidy report of regression models.
pCompute _p_ value.
pkg_dependCheck dependencies of R packages.
pkg_install_suggestedInstall suggested R packages.
PrintPrint strings with rich formats and colors.
print_tablePrint a three-line table (to R Console and Microsoft Word).
PROCESSPROCESS for mediation and/or moderation analyses.
RECODERecode a variable.
regressRegression analysis.
rep_charRepeat a character string for many times and paste them up.
RESCALERescale a variable (e.g., from 5-point to 7-point).
RGBA simple extension of 'rgb()'.
RunRun code parsed from text.
scalerMin-max scaling (min-max normalization).
set.wdSet working directory to the path of currently opened file.
show_colorsShow colors.
theme_bruceA nice 'ggplot2' theme that enables Markdown/HTML rich text.
TTESTOne-sample, independent-samples, and paired-samples t-test.
bruceR documentation built on Sept. 27, 2023, 5:06 p.m.