# sjPlot-package

sjPlot is available on CRAN!
You can install the package and its dependencies with `install.packages("sjPlot")`

.

## Description

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.

## Donate

If you like, feel free to donate to this project.

## GitHub

You can download the latest development build from github.

## Bug reports

Please submit bugs, issues and feature requests at github.

## sjmisc-package

The package related to *sjPlot* is the *sjmisc* package, which is also
available on CRAN.
You can install the package and its dependencies with `install.packages("sjmisc")`

.
The former tool-functions from the sjPlot-package have been moved to the sjmisc-package.

### Description

Collection of miscellaneous utility functions (especially intended for people coming from other statistical
software packages like 'SPSS', and/or who are new to R), supporting following common tasks:

**1)** Reading and writing data between R and other statistical software packages like 'SPSS',
'SAS' or 'Stata' and working with labelled data; this includes easy ways to get and set label attributes, to
convert labelled vectors into factors (and vice versa), or to deal with multiple declared missing values etc.

**2)** Data transformation tasks like recoding, dichotomizing or grouping variables, setting and
replacing missing values.

**3)** Convenient functions to perform frequently used statistical tests, or to calculate various
commonly used statistical coefficients.

### GitHub

You can download the latest development build from github.

### Bug reports

Please submit bugs, issues and feature requests at github.

## Documentation

### Basics of the sjPlot and sjmisc packages

- Data initialization
- Introduction into labelled data
- Working with labelled data
- Customize plot appearance
- Basics of sjt table-functions
- Inspecting (SPSS imported) data frames
- Global options settings

### Plotting functions

- sjp.frq - plot frequencies of (count) variables
- sjp.glm - plot odds ratios (forest plots) of generalized linear models
- sjp.glmer - plot odds ratios (forest plots) of generalized linear mixed effects models
- sjp.grpfrq - plot grouped or stacked frequencies
- sjp.int - plot interaction effects of regression models
- sjp.likert - plot Likert scales
- sjp.lm - plot estimates of linear models
- sjp.lmer - plot estimates (forest plots) of linear mixed effects models
- sjp.pca - plot principal component analysis
- sjp.scatter - plot (grouped) scatter plots
- sjp.stackfrq - plot stacked proportional bars
- sjp.xtab - plot contingency tables

### Table functions

- sjt.corr - correlations as HTML table
- sjt.df - (description of) data frames as HTML table
- sjt.frq - frequencies of (count) variables as HTML table
- sjt.itemanalysis - item analysis of scale or index as HTML table
- sjt.lm - linear models as HTML table
- sjt.lmer - linear mixed models as HTML table
- sjt.pca - principal component analysis as HTML table
- sjt.stackfrq - stacked frequencies as HTML table
- sjt.xtab - contingency tables as HTML table