Category Archives: Visualizing Data

Drawing a Fish Curve using R and ggplot2

Intro Recently, I wondered whether there is a way to draw a fish shape using a mathematical function. Since I did not find a ready-made R function, I tried to write the function by myself. The equations, I've used for … Continue reading

Posted in Tips & Tricks, Visualizing Data | Tagged , | Leave a comment

How to order factors by level frequency and level name

Intro Quite frequently, factor variables are ordered by level frequency. However, factor levels having only a few observations are sometimes collapsed into one level usually named “others”. Since this level is usually not of particular interest, it may be a … Continue reading

Posted in Tips & Tricks, Visualizing Data | Tagged | 2 Comments

How to Plot Venn Diagrams Using R, ggplot2 and ggforce

Intro Venn diagrams – named after the English logician and philosopher John Venn – “illustrate the logical relationships between two or more sets of items” with overlapping circles. In this tutorial, I'll show how to plot a three set venn … Continue reading

Posted in Visualizing Data | Tagged , | Leave a comment

How to plot GPS data using R, ggplot2 and ggmap

Intro A couple of months ago, I bought a mobile GPS navigation device. The device makes it possible to record the routes we travel with our car. Since the routes can by exported as .gpx files, it is rather easy … Continue reading

Posted in Visualizing Data | Tagged , | Leave a comment

Analyse der DFG Fachkollegienwahl 2015 — Teil I

Die Deutsche Forschungsgemeinschaft (DFG) ist die europaweit größte Forschungsförderungsorganisation mit einem Jahresetat von aktuell etwa 3 Milliarden Euro (2016). Die Aufgabe der DFG besteht in der Auswahl und Finanzierung wissenschaftlicher Forschungsvorhaben an Hochschulen und Forschungsinstituten. Laut DFG werden eingereichte Förderanträge … Continue reading

Posted in Visualizing Data | Tagged , | Leave a comment

How to draw a CONSORT flow diagram using R and GraphViz

Intro The acronym CONSORT stands for “Consolidated Standards of Reporting Trials”. The CONSORT statement is published by the CONSORT group and gives recommendations aiming to improve the quality of reports of randomized clinical trials. Besides a 25 item checklist, the … Continue reading

Posted in Visualizing Data | Tagged | 6 Comments

How to install and use the hexSticker package

Intro A couple of days ago, the hexSticker package was published on CRAN. The package provides some functions to plot hexagon stickers that may be used to promote R packages. As described on GitHub, the stickers can be plotted either … Continue reading

Posted in Fav R Packages, Visualizing Data | Tagged | Leave a comment