sjPlot - Data Visualization for Statistics in Social Science
Collection of plotting and table output functions for data visualization. Results of various statistical analyses (that are commonly used in social sciences) can be visualized using this package, including simple and cross tabulated frequencies, histograms, box plots, (generalized) linear models, mixed effects models, PCA and correlation matrices, cluster analyses, scatter plots, Likert scales, effects plots of interaction terms in regression models, constructing index or score variables and much more.
Installation
Latest development build
To install the latest development snapshot (see latest changes below), type following commands into the R console:
library(devtools)
devtools::install_github("strengejacke/sjPlot")
Please note the package dependencies when installing from GitHub. The GitHub version of this package may depend on latest GitHub versions of my other packages, so you may need to install those first, if you encounter any problems. Here's the order for installing packages from GitHub:
sjlabelled → sjmisc → sjstats → ggeffects → sjPlot
Officiale, stable release
To install the latest stable release from CRAN, type following command into the R console:
install.packages("sjPlot")
Documentation and examples
Please visit https://strengejacke.github.io/sjPlot/ for documentation and vignettes.
Citation
In case you want / have to cite my package, please use citation('sjPlot')
for citation information. Since core functionality of package depends on the ggplot-package, consider citing this package as well.