Examples for sjPlotting functions, including correlations and proportional...
Sometimes people ask me how the examples of my plotting functions I show here can be reproduced without having a SPSS data set (or at least, without having the data set I use because it’s not public...
View ArticlePlotting principal component analysis with ggplot #rstats
This script was almost written on parallel to the sjPlotCorr script because it uses a very similar ggplot-base. However, there’s also a very nice posting over at Martin’s Bio Blog which show...
View ArticlePlotting Likert-Scales (net stacked distributions) with ggplot #rstats
Update Thanks to Forrest for finding and fixing a bug. Scripts have been updated! Update 2 Scripts have been updated because item ordering was still buggy. Hope everything is fixed now. Very helpful in...
View ArticleVisual interpretation of interaction terms in linear models with ggplot #rstats
I haven’t used interaction terms in (generalized) linear model quite often yet. However, recently I have had some situations where I tried to compute regression models with interaction terms and was...
View ArticlesjPlotting functions now as package available #rstats
This weekend I had some time to deal with package building in R. After some struggling, I now managed to setup RStudio, Roxygen and MikTex properly so I can compile my collection of R-scripts into a...
View ArticlesjPlot – data visualization for statistics (in social science) #rstats
I’d like to announce the release of version 0.7 of my R package for data visualization and give a small overview of this package (download and installation instructions can be found on the package...
View ArticlesjPlot 0.9 (data visualization package) now on CRAN #rstats
Since version 0.8, my package for data visualization using ggplot has been released on the Comprehensive R Archive Network (CRAN), which means you can simply install the package with...
View ArticleComparing multiple (g)lm in one graph #rstats
It’s been a while since a user of my plotting-functions asked whether it would be possible to compare multiple (generalized) linear models in one graph (see comment). While it is already possible to...
View ArticleSimply creating various scatter plots with ggplot #rstats
Inspired by these two postings, I thought about including a function in my package for simply creating scatter plots. In my package, there’s a function called sjp.scatter for creating scatter plots. To...
View ArticleVisualize pre-post comparison of intervention #rstats
My sjPlot-package was just updated on CRAN, introducing a new function called sjp.emm.int to plot estimated marginal means (least-squares means) of linear models with interaction terms. Or: plotting...
View ArticleVisualizing (generalized) linear mixed effects models, part 2 #rstats #lme4
In the first part on visualizing (generalized) linear mixed effects models, I showed examples of the new functions in the sjPlot package to visualize fixed and random effects (estimates and odds...
View ArticlesjPlot package and related online manuals updated #rstats # ggplot
My sjPlot package for data visualization has just been updated on CRAN. I’ve added some features to existing function, which I want to introduce here. Plotting linear models So far, plotting model...
View ArticleCRAN download statistics of any packages #rstats
Hadley Wickham announced at Twitter that RStudio now provides CRAN package download logs. I was wondering about the download numbers of my package and wrote some code to extract that information from...
View ArticleData visualization in social sciences – what’s new in the sjPlot-package?...
My sjPlot package just reached version 2.0 and got many updates during the couple of last months. The focus was less on adding new functions; rather, I improved existing functions by adding new smaller...
View ArticlePipe-friendly workflow with sjPlot, sjmisc and sjstats, part 1 #rstats...
Recent development in R packages are increasingly focussing on the philosophy of tidy data and a common package design and api. Tidy data is an important part of data exploration and analysis, as shown...
View ArticlesjPlot-update: b&w-Figures for Print Journals and Package Vignettes #rstats...
My sjPlot-package was just updated on CRAN with some – as I think – useful new features. First, I have added some vignettes to the package (based on the existing online-documentation) that cover some...
View ArticleMy set of packages for (daily) data analysis #rstats
I started writing my first package as collection of various functions that I needed for (almost) daily work. Meanwhile, packages were growing and bit by bit I sourced out functions to put them into...
View ArticleGoing Bayes #rstats
Some time ago I started working with Bayesian methods, using the great rstanarm-package. Beside the fantastic package-vignettes, and books like Statistical Rethinking or Doing Bayesion Data Analysis, I...
View ArticleMarginal effects for negative binomial mixed effects models (glmer.nb and...
Here’s a small preview of forthcoming features in the ggeffects-package, which are already available in the GitHub-version: For marginal effects from models fitted with glmmTMB() or glmer() resp....
View ArticleQuick #sjPlot status update… #rstats #rstanarm #ggplot2
I’m working on the next update of my sjPlot-package, which will get a generic plot_model() method, which plots any kind of regression model, with different plot types being supported (forest plots for...
View Article