Articles by Albert Rapp

How to use Fonts and Icons in ggplot

March 3, 2022 | Albert Rapp

For some reason, using other than the default font in plots has been a major problem for me in R. Supposedly, one can use the extrafont package to manage all of that but I found it too cumbersome. Instead, I found out that the showtext package can make my life ...
[Read more...]

4 Ways to use colors in ggplot more efficiently

February 18, 2022 | Albert Rapp

When creating a plot I frequently catch myself using way too many colors. Thus, I have to remind myself often to keep things simple. Usually, this makes a data visualization way more effective. Luckily, I found a neat datawrapper blogpost by Lisa Charlotte Muth that shows us how to reduce ...
[Read more...]

Showcasing the janitor package

January 11, 2022 | Albert Rapp

The janitor package contains only a little number of functions but nevertheless it is surprisingly convenient. I never really fully appreciated its functionality until I took a look into the documentation. Of course, other packages can achieve the same...
[Read more...]

ggplot-tips: Learning by Thieving

January 9, 2022 | Albert Rapp

TidyTuesday, the weekly social data project that brings together R users, is a great way to connect to the R community and learn to wrangle and visualize data. But more importantly, it is a superb chance to learn new data visualization skills by doing thieving. Let me elaborate. Each week, ...
[Read more...]

A couple of visualizations from ggforce

December 30, 2021 | Albert Rapp

It is almost the beginning of a new year and I have decided to finish off this year with a quick blog post. Also, friends were shaming me that I have been slacking off on this blog lately. Therefore, let’s get started right away. We’ll keep things simple ...
[Read more...]

ggplot tips: Arranging plots

October 27, 2021 | Albert Rapp

In this week’s TidyTuesday, I noticed that I am frequently not using only ggplot2 to create plots. In fact, it has become essential to me to leverage the powers of other great additional packages that align well with ggplot2. Therefore, I decided...
[Read more...]

An Exploratory Introduction to the Plotly Package

October 15, 2021 | Albert Rapp

Currently, I am quite curious about interactive plots which is why I am reading Scott Murray’s highly recommendable book on D3. For those of you who don’t know it, D3.js is a JavaScript library that is great for creating amazing interactive Data-Driven-Documents on the web. Unfortunately, compared ... [Read more...]

Did German Voters Become More Impulsive?

October 2, 2021 | Albert Rapp

A bit more than two weeks ago, Germany held a federal election and, naturally, this is always reason for a lot of discussions and subjective truths. One subjective truth I encountered myself related to how fast the party CDU/CSU was able to collect and...
[Read more...]

Writing Versatile Functions with R

September 15, 2021 | Albert Rapp

This week, I had to deal with two very similar tasks on two very similar but not identical data sets that required me to write a function that is versatile enough to deal with both data sets despite their subtle differences. The differences that had to be accounted for mainly ... [Read more...]

Is Success Luck or Hard Work?

July 27, 2021 | Albert Rapp

Recently, I decided to try out a few stretches in an effort to stay in shape during long stretches of working from home and not leaving the house. Also, to distract me from my inflexible body I thought I would watch a video on YouTube simultaneously and as luck would ...
[Read more...]

Animating kernel density estimators

July 13, 2021 | Albert Rapp

For my first post on this blog I decided to create an animation using the animation package. To give this animation some purpose let me demonstrate how kernel density estimators work with the help of an animation. In general, kernel density estimators ...
[Read more...]

About

July 6, 2021 | Albert Rapp

Welcome! My Name is Albert Rapp and I am currently a PhD student in mathematics at Ulm University. As part of my obligations as a PhD student I had to teach an applied course on statistical techniques using the statistical software R. Interestingly, I ... [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)