Tag Archives: ggplot2

Sample Size Calculation Using R

Preample “Sample Size Calculation Using R” – the title of this blog post – sounds very comprehensive. However, this post only deals with the sample size collection for one particular test (two sample t-test). A collection of functions for basic … Continue reading

Posted in Indroduction | Tagged , , , | Leave a comment

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

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

How to plot a companion planting guide using ggplot2

Intro Recently my girl-friend asked me whether I could do some data project being useful for our family rather than just for myself. A couple of years ago – after our first son was born – we decided to rent … Continue reading

Posted in Visualizing Data | Tagged | 2 Comments

How to plot animated maps with gganimate

Intro Leipzig is the largest city in the federal state of Saxony, Germany. Since about 2009, Leipzig is one of the fastest growing German cities. Between 2006 and 2016, the population has grown from about 506.000 to 580.000 inhabitants.The largest … Continue reading

Posted in Visualizing Data | Tagged , , , , , | Leave a comment

Text mining PubMed using R – a case study

Intro For a couple of years, I've been doing research in the field of psychooncology, which basically is “concerned both with the effects of cancer on a person's psychological health as well as the social and behavioral factors that may … Continue reading

Posted in Bibliometrics, Text Mining | Tagged , , | 1 Comment