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.

Total

178,242

Last month

11,279

Last week

2,645

Average per day

376

Daily downloads

Total downloads

Description file content

Package
sjstats
Type
Package
Encoding
UTF-8
Title
Collection of Convenient Functions for Common Statistical Computations
Version
0.17.0
Date
2018-08-20
Maintainer
Daniel Lüdecke
Description
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.
License
GPL-3
Depends
R (>= 3.2), stats, utils
Imports
bayesplot, broom (>= 0.4.5), coin, crayon, dplyr, emmeans, lme4, glmmTMB (>= 0.2.2.0), magrittr, MASS, Matrix, modelr, nlme, prediction, purrr, pwr, rlang, sjlabelled (>= 1.0.13), sjmisc (>= 2.7.3), tidyr
Suggests
AER, brms, car, ggplot2, ggridges, graphics, knitr, loo, mediation, pbkrtest (>= 0.4-7), pROC, psych, sandwich, scales, splines, sjPlot, survey, rstan, rstantools, rstanarm, VGAM, Zelig, testthat
URL
BugReports
https://github.com/strengejacke/sjstats/issues
RoxygenNote
6.1.0
VignetteBuilder
knitr
NeedsCompilation
no
Packaged
2018-08-20 14:16:43 UTC; Daniel
Author
Daniel Lüdecke [aut, cre] ()
Repository
CRAN
Date/Publication
2018-08-20 15:10:03 UTC

install.packages('sjstats')

0.17.0

a month ago

https://github.com/strengejacke/sjstats

Daniel Lüdecke

GPL-3

Depends on

R (>= 3.2), stats, utils

Imports

bayesplot, broom (>= 0.4.5), coin, crayon, dplyr, emmeans, lme4, glmmTMB (>= 0.2.2.0), magrittr, MASS, Matrix, modelr, nlme, prediction, purrr, pwr, rlang, sjlabelled (>= 1.0.13), sjmisc (>= 2.7.3), tidyr

Suggests

AER, brms, car, ggplot2, ggridges, graphics, knitr, loo, mediation, pbkrtest (>= 0.4-7), pROC, psych, sandwich, scales, splines, sjPlot, survey, rstan, rstantools, rstanarm, VGAM, Zelig, testthat

Discussions