Articles by Rcrastinate

Let the snail crawl: Animated density curves

July 28, 2020 | 0 Comments

Previously, I’ve plotted a ridgeline based on a variable’s density through time. It might look nice but it’s quite obvious that time can be visualized in a more fitting way - by time itself, in an animated plot that is. So, let’s fire up the {gganimate} ... [Read more...]

if … else and ifelse

February 26, 2020 | 0 Comments

Let’s make this a quick and quite basic one. There is this incredibly useful function in R called ifelse(). It’s basically a vectorized version of an if … else control structure every programming language has in one way or the other. ifelse() has, in my view, two major advantages ... [Read more...]

Correspondence Analysis visualization using ggplot

August 19, 2019 | 0 Comments

What we want to do Recently, I used a correspondence analysis from the ca package in a paper. All of the figures in the paper were done with ggplot. So, I wanted the visualization for the correspondence analysis to match the style of the other figures. The standard plot method ...
[Read more...]

How to save (and load) datasets in R: An overview

May 27, 2019 | 0 Comments

What I will show you In this post, I want to show you a few ways how you can save your datasets in R. Maybe, this seems like a dumb question to you. But after giving quite a few R courses mainly - but not only - for R beginners, ...
[Read more...]

‚Stata-like‘ tick marks for logarithmic axes in ggplot2

February 16, 2019 | 0 Comments

I am currently reproducing a statistical analysis a colleague of mine conducted in Stata. Obviously, I am using R for the replication. I came across what I think is Stata’s default behavior when using log-transformed axes. This is an example. What I like about the tick lines on the ...
[Read more...]

Using custom scales with the ‚scales‘ package

January 29, 2019 | 0 Comments

Maybe you already heard of the package “scales” - and if you didn’t hear about it, you might have used it without knowing (e.g., in the context of ggplot2 graphs). I want to show you a few of the functionalities of the “scales” package. I will also show ...
[Read more...]

How I started a blog based on blogdown: A walkthrough

January 16, 2019 | 0 Comments

After a long time of running my blog on, I finally wanted to move it to a solution that’s better suited for the kind of contents I am posting. Namely, that’s content related to R and everything you can do with it - from analyzing large ...
[Read more...]

Rcrastinate is now based on blogdown

January 14, 2019 | 0 Comments

Well, hello there! I moved Rcrastinate to a blogdown-based solution now. With this, I can use all the fancy stuff that comes with R Markdown documents. I’m happy that you’re here. You can still access my older posts over at
[Read more...]


January 14, 2019 | 0 Comments

Please visit for more R-related blogs. It’s a wonderful resource for everything related to R, statistics, visualizations, and more! [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)