Blog Archives

sjPlot package and related online manuals updated #rstats # ggplot

February 5, 2015
By
sjPlot 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 assumptions of linear models or plotting slopes for each estimate of linear models were spread over several functions. Now, these plot types have

Read more »

Visualizing (generalized) linear mixed effects models, part 2 #rstats #lme4

November 18, 2014
By
Visualizing (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 ratios) of (g)lmer results. Meanwhile, I added further features to the functions, which I like to introduce here. This posting is based on the

Read more »

Visualizing (generalized) linear mixed effects models with ggplot #rstats #lme4

October 26, 2014
By
Visualizing (generalized) linear mixed effects models with ggplot #rstats #lme4

In the past week, colleagues of mine and me started using the lme4-package to compute multi level models. This inspired me doing two new functions for visualizing random effects (as retrieved by ranef()) and fixed effects (as retrieved by fixed()) of (generalized) linear mixed effect models. The upcoming version of my sjPlot package will contain

Read more »

sjPlot 1.6 – major revisions, anyone for beta testing? #rstats

October 23, 2014
By
sjPlot 1.6 – major revisions, anyone for beta testing? #rstats

In the last couple of weeks I have rewritten some core parts of my sjPlot-package and also revised the package- and online documentation. Most notably are the changes that affect theming and appearance of plots and figures. There’s a new function called sjp.setTheme which now sets theme-options for all sjp-functions, which means you only need

Read more »

Visualize pre-post comparison of intervention #rstats

August 19, 2014
By
Visualize 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 adjusted means of an ANCOVA. The idea to this function came up when we wanted to analyze the effect of an intervention (an educational programme on knowledge

Read more »

sjPlot: New options for creating beautiful tables, documentation on #RPubs #rstats

April 22, 2014
By
sjPlot: New options for creating beautiful tables, documentation on #RPubs #rstats

A new update of my sjPlot package was just released on CRAN. This release focused on improving existing functions and bug fixes again. Especially the table output functions (see my previous blog posts on table output functions here and here) improved a lot. Tables now have more and better possibilities for style customization and knitr

Read more »

sjPlot 1.3 available #rstats #sjPlot

March 27, 2014
By
sjPlot 1.3 available #rstats #sjPlot

I just submitted my package update (version 1.3) to CRAN. The download is already available (currently source, binaries follow). While the last two updates included new functions for table outputs (see here and here for details on these functions), the current update only provides small helper functions as new functions. The focus of this update

Read more »

Developer snapshots of #sjPlot-package now on #Github #rstats

March 8, 2014
By
Developer snapshots of #sjPlot-package now on #Github #rstats

Finally, I managed to setup a GitHub repository. From now on, the latest developer snapshot of my sjPlot-package will be published right here: https://github.com/sjPlot/devel. Please post issues there, download the latest developer build for testing purposes or help developing the wiki-page with examples for package usage etc. Btw, if somebody knows, why I can’t get

Read more »

Beautiful table outputs in R, part 2 #rstats #sjPlot

March 4, 2014
By
Beautiful table outputs in R, part 2 #rstats #sjPlot

First of all, I’d like to thank my readers for the lots of feedback on my last post on beautiful outputs in R. I tried to consider all suggestions, updated the existing table-output-functions and added some new ones, which will be described in this post. The updated package is already available on CRAN. This posting

Read more »

Simply creating various scatter plots with ggplot #rstats

February 28, 2014
By
Simply 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 reproduce these examples, first load the package and then attach the sample data set: The simplest function call is by just providing two

Read more »