sjstats: Collection of Convenient Functions for Common Statistical Computations

Collection of convenient functions for common statistical computations, which are not directly provided by R's base or stats packages. This package aims at providing, first, shortcuts for statistical measures, which otherwise could only be calculated with additional effort (like standard errors or root mean squared errors). Second, these shortcut functions are generic (if appropriate), and can be applied not only to vectors, but also to other objects as well (e.g., the Coefficient of Variation can be computed for vectors, linear models, or linear mixed models; the r2()-function returns the r-squared value for 'lm', 'glm', 'merMod' and other model objects). The focus of most functions lies on summary statistics or fit measures for regression models, including generalized linear models, mixed effects models and Bayesian models. However, some of the functions also deal with other statistical measures, like Cronbach's Alpha, Cramer's V, Phi etc.

Version: 0.17.4
Depends: R (≥ 3.2), stats, utils
Imports: broom, dplyr, emmeans, insight, lme4, magrittr, MASS, Matrix, modelr, purrr, rlang, sjlabelled (≥ 1.0.17), sjmisc (≥ 2.7.8), tidyr
Suggests: brms, car, coin, ggplot2, ggridges, graphics, glmmTMB, knitr, loo, mediation, nlme, pbkrtest (≥ 0.4-7), pROC, psych, pwr, sandwich, scales, splines, sjPlot, survey, rstan, rstantools, rstanarm, rstudioapi, VGAM, Zelig, testthat
Published: 2019-03-15
Author: Daniel Lüdecke ORCID iD [aut, cre]
Maintainer: Daniel Lüdecke <d.luedecke at>
License: GPL-3
NeedsCompilation: no
Citation: sjstats citation info
Materials: README NEWS
CRAN checks: sjstats results


Reference manual: sjstats.pdf
Vignettes: Statistics for Anova Tables
Statistics for Bayesian Models
Statistics for Mixed Effects Models
Package source: sjstats_0.17.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: sjstats_0.17.4.tgz, r-oldrel: sjstats_0.17.4.tgz
Old sources: sjstats archive

Reverse dependencies:

Reverse imports: CGPfunctions, EMAtools, ggstatsplot, groupedstats, sjPlot
Reverse suggests: ggeffects, sjmisc


Please use the canonical form to link to this page.